|
@@ -135,8 +135,8 @@ export const setConfig = (conf) => {
|
|
|
}
|
|
|
|
|
|
//本地开发使用
|
|
|
-export const login_url = '#/login'
|
|
|
-export const register_url = ''
|
|
|
+export const login_url = (process.env.ENV_CONFIG === 'dev' || process.env.ENV_CONFIG === 'test') ? '#/login' : 'http://user.cofortest.com:8081/page/login?redirect=http%3a%2f%2fwww.cofortest.com%2f%23%2fhome'
|
|
|
+export const register_url = (process.env.ENV_CONFIG === 'dev' || process.env.ENV_CONFIG === 'test') ? '' : 'http://user.cofortest.com:8081/page/register'
|
|
|
|
|
|
// 开发使用
|
|
|
// export const login_url = 'http://crowd.dev.mooctest.net:8281/page/login?redirect=http%3a%2f%2fdev.mooctest.net%3A5757%2f%23%2fhome'
|