Browse Source

perf: 修改端口号

曾坤森 2 months ago
parent
commit
a6669b6190
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .env.development
  2. 1 1
      config/vite.config.dev.ts

+ 1 - 1
.env.development

@@ -1,3 +1,3 @@
 VITE_NODE_ENV= development
-VITE_API_BASE_URL= 'http://localhost:5273/'
+VITE_API_BASE_URL= 'http://localhost:5174/'
 VITE_API_DOWN_URL= 'http://192.168.1.214:5000/'

+ 1 - 1
config/vite.config.dev.ts

@@ -9,7 +9,7 @@ export default mergeConfig(
       fs: {
         strict: true,
       },
-      port: 5273,
+      port: 5174,
       proxy: {
         '/api': {
           // 代理路径前缀