Commit a1fd4c01 authored by 梁钊炜's avatar 梁钊炜

fix: 修改请求接口

parent b12e516b
...@@ -8,8 +8,8 @@ export default defineConfig({ ...@@ -8,8 +8,8 @@ export default defineConfig({
port: 5177, port: 5177,
proxy: { proxy: {
'/ae-api': { '/ae-api': {
// target: 'http://103.131.168.155:8001', target: 'http://103.131.168.155:8001',
target: 'http://localhost:8001', // target: 'http://localhost:8001',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/ae-api/, ''), rewrite: (path) => path.replace(/^\/ae-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