change request url
This commit is contained in:
commit
fb872f3a3d
|
@ -12,7 +12,7 @@ if (window.location.href.indexOf('localhost') > -1) {
|
||||||
actionUrl = "https://test-search.trustie.net";
|
actionUrl = "https://test-search.trustie.net";
|
||||||
// actionUrl = 'https://testforgeplus.trustie.net';
|
// actionUrl = 'https://testforgeplus.trustie.net';
|
||||||
axios.defaults.withCredentials = true;
|
axios.defaults.withCredentials = true;
|
||||||
}else if (window.location.href.indexOf('wiki-api') > -1) {
|
}else if (window.location.href.indexOf('forgeplus') > -1) {
|
||||||
actionUrl = "https://wiki-api.trustie.net";
|
actionUrl = "https://wiki-api.trustie.net";
|
||||||
axios.defaults.withCredentials = true;
|
axios.defaults.withCredentials = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue