b6950902 by chentao

修改路由配置

1 parent efe05342
...@@ -28,18 +28,18 @@ export default defineConfig(({ mode, command }) => { ...@@ -28,18 +28,18 @@ export default defineConfig(({ mode, command }) => {
28 open: true, 28 open: true,
29 forceHttps: false, 29 forceHttps: false,
30 proxy: { 30 proxy: {
31 '/dev-api': { 31 // '/dev-api': {
32 target: 'http://localhost:8082/', 32 // target: 'http://legao.jimilicai.com/prod-api/',
33 changeOrigin: true, 33 // changeOrigin: true,
34 secure: false, 34 // secure: false,
35 rewrite: (p) => p.replace(/^\/dev-api/, '') 35 // rewrite: (p) => p.replace(/^\/dev-api/, '')
36 }, 36 // },
37 '/prod-api': { 37 // '/prod-api': {
38 target: 'http://localhost:8080/', 38 // target: 'http://localhost:8080/',
39 changeOrigin: true, 39 // changeOrigin: true,
40 secure: false, 40 // secure: false,
41 rewrite: (p) => p.replace(/^\/prod-api/, '') 41 // rewrite: (p) => p.replace(/^\/prod-api/, '')
42 } 42 // }
43 } 43 }
44 }, 44 },
45 //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file 45 //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!