update apiBaseUrl to https://betasuppliers.tipro.in to support Nginx SSL reverse proxy
This commit is contained in:
parent
b73610521c
commit
b391ce9090
1 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
const getApiBaseUrl = () => {
|
const getApiBaseUrl = () => {
|
||||||
if (typeof window !== 'undefined' && window.location.hostname === 'betasuppliers.tipro.in') {
|
if (typeof window !== 'undefined' && window.location.hostname === 'betasuppliers.tipro.in') {
|
||||||
return 'http://16.113.57.127:8080';
|
return 'https://betasuppliers.tipro.in';
|
||||||
}
|
}
|
||||||
return 'http://localhost:8000';
|
return 'http://localhost:8000';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue