Commit 6abea2ce authored by Administrator's avatar Administrator

update

parent 975e848f
...@@ -26,7 +26,9 @@ export default defineConfig({ ...@@ -26,7 +26,9 @@ export default defineConfig({
server: { server: {
proxy: { proxy: {
'/api/': { '/api/': {
target: 'http://127.0.0.1:5001/', // 后端服务实际地址 // target: 'http://127.0.0.1:5001/', // 本机后端服务
target: 'http://wm-tools-backend.frp.wmdigit.com:8888/', // new3090后端服务
// target: 'http://wm-tools-backend-test.frp.wmdigit.com:8888/', // 4090-1测试后端服务
changeOrigin: true, changeOrigin: true,
rewrite: (path: any) => path.replace(/^\/api/, '') rewrite: (path: any) => path.replace(/^\/api/, '')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment