config/proxy.ts
@@ -1,12 +1,12 @@ const proxy = { "/dev/": { target: "http://127.0.0.1:8001", target: "http://womp.jsbogang.com:8001", changeOrigin: true, rewrite: (path: string) => path.replace(/^\/dev/, ""), }, "/prod/": { target: "https://show.cool-admin.com", target: "https://womp.jsbogang.com:8001", changeOrigin: true, rewrite: (path: string) => path.replace(/^\/prod/, "/api"), },