ci: 更新API代理目标地址为生产环境
将开发环境的本地代理地址改为线上生产环境地址,以便于测试和生产环境对接
This commit is contained in:
@@ -30,7 +30,8 @@ export default defineConfig({
|
|||||||
proxy: {
|
proxy: {
|
||||||
// 配置API代理
|
// 配置API代理
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://localhost:7071',
|
target: 'http://www.qf1121.top',
|
||||||
|
// target: 'http://localhost:7071',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path
|
rewrite: (path) => path
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user