Przeglądaj źródła

修改config导向

lxylxy123321 2 tygodni temu
rodzic
commit
f8b3aa8941
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      frontend/vite.config.ts

+ 2 - 2
frontend/vite.config.ts

@@ -7,11 +7,11 @@ export default defineConfig({
     port: 5173,
     proxy: {
       '/api': {
-        target: 'http://192.168.91.253:8000',
+        target: 'http://192.168.91.253:8010',
         changeOrigin: true,
       },
       '/ws': {
-        target: 'ws://192.168.91.253:8000',
+        target: 'ws://192.168.91.253:8010',
         ws: true,
       },
     },