Sfoglia il codice sorgente

修改config导向

lxylxy123321 2 settimane fa
parent
commit
f8b3aa8941
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      frontend/vite.config.ts

+ 2 - 2
frontend/vite.config.ts

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