mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-03 12:38:19 +08:00
[web] fix editor bugs
This commit is contained in:
parent
2bc73547d7
commit
e317076b63
@ -14,7 +14,7 @@ export class HttpCommon
|
||||
{
|
||||
if (process.env.NODE_ENV === 'development' ||
|
||||
window.location.hostname === 'localhost') {
|
||||
axios.defaults.baseURL = 'http://139.198.158.103:9096';
|
||||
axios.defaults.baseURL = 'http://localhost:9096';
|
||||
}
|
||||
else {
|
||||
axios.defaults.baseURL = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port : '');
|
||||
|
Loading…
Reference in New Issue
Block a user