- export let host = 'http://zhihui-test.intra.xiaojukeji.com'
- export let requestIp = host + '/localzuul'
- export let loginUrl = host + '/sso/login?jumpto=' + 'http://zhihui-test.intra.xiaojukeji.com' + location.pathname
- export let logoutUrl = host + '/sso/logout?jumpto=' + 'http://zhihui-test.intra.xiaojukeji.com' + location.pathname
- if (location.host.indexOf('localhost') < 0) {
- host = 'http://' + location.host
- requestIp = host + '/zuul'
- loginUrl = host + '/sso/login?jumpto=' + location.href
- logoutUrl = host + '/sso/logout?jumpto=' + location.href
- }
|