补齐后端最小功能和前端
This commit is contained in:
1 parent
0e347aad9e
commit
3e7c9420fe
60 files changed
+8181
-329
No files matched your search
@@ -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' },
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user