增加docker配置
Change-Id: I9fa70e1256227f84973fc1bf5d5175e57f5cd225
diff --git a/config/proxy.ts b/config/proxy.ts
index c290c6a..a812e74 100644
--- a/config/proxy.ts
+++ b/config/proxy.ts
@@ -12,17 +12,17 @@
export default {
// 如果需要自定义本地开发服务器 请取消注释按需调整
dev: {
- // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
+ // localhost:5004/api/** -> https://preview.pro.ant.design/api/**
'/api/': {
// 要代理的地址
- target: 'http://localhost:8080',
+ target: 'http://localhost:5004',
// 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie
changeOrigin: true,
pathRewrite: { '^/api': '' },
},
'/profile/avatar/': {
- target: 'http://localhost:8080',
+ target: 'http://localhost:5004',
changeOrigin: true,
}
},
@@ -32,7 +32,7 @@
* @doc https://github.com/chimurai/http-proxy-middleware
*/
test: {
- // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
+ // localhost:5004/api/** -> https://preview.pro.ant.design/api/**
'/api/': {
target: 'https://proapi.azurewebsites.net',
changeOrigin: true,