Browse Source

更新代理配置,将生产环境目标地址更改为本地开发地址

YourName 2 days ago
parent
commit
5c21ffc550
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/config/proxy.ts

+ 1 - 1
src/config/proxy.ts

@@ -6,7 +6,7 @@ const proxy = {
 	},
 
 	'/prod/': {
-		target: 'https://show.cool-admin.com',
+		target: 'http://127.0.0.1:8001',
 		changeOrigin: true,
 		rewrite: (path: string) => path.replace(/^\/prod/, '/api')
 	}