补齐后端最小功能和前端

This commit is contained in:
ChuNa7a committed 2026-10-16 23:36:56 +08:00
1 parent 0e347aad9e
commit 3e7c9420fe
60 files changed
+8181 -329

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import { defineConfig } from 'astro/config';
import node from '@astrojs/node';
export default defineConfig({
output: 'server',
session: false,
adapter: node({ mode: 'standalone' }),
server: { port: 4321 },
build: { inlineStylesheets: 'never' },
vite: {
build: { assetsInlineLimit: 0 },
server: {
proxy: { '/api': process.env.API_BASE_URL || 'http://127.0.0.1:3001' },
},
},
});