forked from Gitlink/forgeplus-react
修改调用路径
This commit is contained in:
parent
0ff1367ad8
commit
4cf8357463
|
@ -6,13 +6,13 @@ import cookie from 'react-cookies';
|
|||
|
||||
let actionUrl = '';
|
||||
if (window.location.href.indexOf('localhost') > -1) {
|
||||
// actionUrl='http://117.50.100.12:8008';
|
||||
// actionUrl='https://taskapi.osredm.com';
|
||||
actionUrl='http://192.168.31.47:8081';
|
||||
}else if(window.location.href.indexOf('117.50.100.12') > -1){
|
||||
actionUrl="http://117.50.100.12:8008";
|
||||
}else if(window.location.href.indexOf('192.168.31.48') > -1){
|
||||
actionUrl="http://117.50.100.12:8008";
|
||||
}else if(window.location.href.indexOf('osredm')>-1){
|
||||
}else if(window.location.href.indexOf('noticeweb.osredm') > -1){
|
||||
actionUrl="https://taskapi.osredm.com";
|
||||
}else if(window.location.href.indexOf('https://osredm.com')>-1){
|
||||
actionUrl="https://info.osredm.com";
|
||||
}
|
||||
export const httpUrl=actionUrl;
|
||||
|
|
Loading…
Reference in New Issue