fix:统一为3000端口

This commit is contained in:
“dongming”
2025-12-28 23:29:03 +08:00
parent acabcfa7ed
commit be1eebb5f6
2 changed files with 9 additions and 0 deletions

3
.gitignore vendored
View File

@@ -22,3 +22,6 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
.pnpm-store
pnpm-lock.yaml
package-lock.json

View File

@@ -1,7 +1,13 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [vue()], plugins: [vue()],
server: {
host: '0.0.0.0',
port: 3000,
allowedHosts: true
},
}) })