diff --git a/config/index.js b/config/index.js index e13a9495..c8a5e3ff 100644 --- a/config/index.js +++ b/config/index.js @@ -10,6 +10,14 @@ module.exports = { assetsSubDirectory: '', assetsPublicPath: '/', proxyTable: { + + '/api/m1/oauth2client': { + target: 'http://localhost:7002', + changeOrigin: true, + pathRewrite: { + '^/api/m1/oauth2client': '' + } + }, /** '/api/m1/xm': { target: 'http://localhost:7067', diff --git a/src/api/login.js b/src/login.js similarity index 100% rename from src/api/login.js rename to src/login.js