parent
4828a1cfce
commit
a69192c80e
6 changed files with 94 additions and 63 deletions
@ -0,0 +1,3 @@ |
|||||||
|
export default function env_config() { |
||||||
|
return 'dev' |
||||||
|
} |
@ -1,16 +0,0 @@ |
|||||||
export default { |
|
||||||
// method: 'get',
|
|
||||||
baseURL: 'http://172.16.1.63:8000', |
|
||||||
// baseURL: 'http://172.16.1.168:8000',
|
|
||||||
// baseURL: 'http://127.0.0.1:8000',
|
|
||||||
baseWS: 'ws://172.16.1.63:8000', |
|
||||||
// baseWS: 'ws://172.16.1.168:8000',
|
|
||||||
// baseWS: 'ws://127.0.0.1:8000',
|
|
||||||
headers: { |
|
||||||
'Content-Type': 'application/json;charset=UTF-8', |
|
||||||
'Authorization': 'token 4e63b8854974c1fdac9deb891fd74dc145b53f85' |
|
||||||
}, |
|
||||||
timeout: 60000, |
|
||||||
withCredentials: true, |
|
||||||
responseType: 'json', |
|
||||||
} |
|
@ -0,0 +1,11 @@ |
|||||||
|
export default { |
||||||
|
baseURL: 'http://172.16.1.168:8000', |
||||||
|
baseWS: 'ws://172.16.1.168:8000', |
||||||
|
headers: { |
||||||
|
'Content-Type': 'application/json;charset=UTF-8', |
||||||
|
'Authorization': 'token 4e63b8854974c1fdac9deb891fd74dc145b53f85' |
||||||
|
}, |
||||||
|
timeout: 60000, |
||||||
|
withCredentials: true, |
||||||
|
responseType: 'json', |
||||||
|
} |
@ -0,0 +1,24 @@ |
|||||||
|
export default { |
||||||
|
direct: { |
||||||
|
baseURL: 'http://172.16.1.63:8000', |
||||||
|
baseWS: 'ws://172.16.1.63:8000', |
||||||
|
headers: { |
||||||
|
'Content-Type': 'application/json;charset=UTF-8', |
||||||
|
'Authorization': 'token 4e63b8854974c1fdac9deb891fd74dc145b53f85' |
||||||
|
}, |
||||||
|
timeout: 60000, |
||||||
|
withCredentials: true, |
||||||
|
responseType: 'json', |
||||||
|
}, |
||||||
|
nginx:{ |
||||||
|
baseURL: 'http://172.16.1.222', |
||||||
|
baseWS: 'ws://172.16.1.63:8000', |
||||||
|
headers: { |
||||||
|
'Content-Type': 'application/json;charset=UTF-8', |
||||||
|
'Authorization': 'token 4e63b8854974c1fdac9deb891fd74dc145b53f85' |
||||||
|
}, |
||||||
|
timeout: 60000, |
||||||
|
withCredentials: true, |
||||||
|
responseType: 'json', |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue