Explorar el Código

修改config导向

lxylxy123321 hace 2 semanas
padre
commit
f8b3aa8941
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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,
       },
     },