diff --git a/src/manifest.json b/src/manifest.json index 6b9c1c2f..090968fb 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -113,6 +113,13 @@ "pathRewrite": { "^/tr": "/" } + }, + "/hzl": { + "target": "http://192.168.1.87:39000/", + "changeOrigin": true, + "pathRewrite": { + "^/hzl": "/" + } } } }, diff --git a/src/pages/login.vue b/src/pages/login.vue index 527c53d1..3b2f1344 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -75,6 +75,8 @@ export default { module = 'online' } else if (/\/project\/xincheng\//.test(libPath)) { module = 'xaxc' + } else if (/\/project\/huizhili\//.test(libPath)) { + module = 'hzl' } else if (/\/project\/qianxinan\//.test(libPath)) { module = 'qxn' } else if (/\/project\/tongren\//.test(libPath)) {