fix(projects): 去除从环境文件引入端口号导致的错误

This commit is contained in:
Soybean
2022-04-03 01:07:25 +08:00
parent eebb753884
commit 2d6d179d66
5 changed files with 29 additions and 8 deletions

View File

@ -24,7 +24,7 @@ export default defineConfig(configEnv => {
},
server: {
host: '0.0.0.0',
port: Number(viteEnv.VITE_SERVER_PORT),
port: 3200,
open: true,
proxy: createViteProxy(viteEnv)
},