fix:统一为3000端口
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -23,3 +23,6 @@ pnpm-debug.log*
|
||||
|
||||
# jetbrains setting folder
|
||||
.idea/
|
||||
.pnpm-store
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
@@ -6,11 +6,18 @@ import node from '@astrojs/node';
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: 'server',
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
port: 3000
|
||||
},
|
||||
adapter: node({
|
||||
mode: 'standalone'
|
||||
}),
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
server: {
|
||||
allowedHosts: true
|
||||
},
|
||||
define: {
|
||||
'import.meta.env.PUBLIC_TENANT_SLUG': JSON.stringify(process.env.PUBLIC_TENANT_SLUG),
|
||||
'import.meta.env.PUBLIC_TENANT_API_KEY': JSON.stringify(process.env.PUBLIC_TENANT_API_KEY),
|
||||
|
||||
Reference in New Issue
Block a user