Explorar o código

修改接口后端地址

tianyabing %!s(int64=2) %!d(string=hai) anos
pai
achega
fe4decc610
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vite.config.js

+ 1 - 1
vite.config.js

@@ -112,7 +112,7 @@ export default defineConfig(({ command }) => {
       port: 8081,
       proxy: {
         "/ioc-api": {
-          target: "http://121.43.55.7:10091",
+          target: "http://121.43.55.7:10091/ioc-server",
           changeOrigin: true,
           rewrite: (path) => path.replace(/^\/ioc-api/, ""),
         },