Commit 8477088f authored by liwei's avatar liwei

误提config,恢复原版

parent 0d2ff5a7
...@@ -33,7 +33,7 @@ export default defineConfig({ ...@@ -33,7 +33,7 @@ export default defineConfig({
}, },
'/AIapi': { '/AIapi': {
// target: 'http://192.168.1.252:8001/', // target: 'http://192.168.1.252:8001/',
target: 'http://localhost:8099/', // 目标服务器地址 target: 'http://192.168.0.17:8099/', // 目标服务器地址
//target: 'http://localhost:5013/', // 目标服务器地址 //target: 'http://localhost:5013/', // 目标服务器地址
changeOrigin: true, // 允许跨域 changeOrigin: true, // 允许跨域
rewrite: (path) => path.replace(/^\/AIapi/, ''), //路径重写,把'/ddapi'替换为'' rewrite: (path) => path.replace(/^\/AIapi/, ''), //路径重写,把'/ddapi'替换为''
......
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