Przeglądaj źródła

更改启动端口

李富豪 1 rok temu
rodzic
commit
75fba66e8a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Web/vite.config.ts

+ 1 - 1
Web/vite.config.ts

@@ -25,7 +25,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => defineConfig(
     // 监听所有地址
     host: '0.0.0.0',
     // 自定义端口号
-    port: 8080,
+    port: 3010,
     // 自动打开浏览器
     open: true,
     // 开启热更新