update apiBaseUrl to https://betasuppliers.tipro.in to support Nginx SSL reverse proxy
All checks were successful
Beta CI/CD Pipeline / build-and-test (push) Successful in 45s
Beta CI/CD Pipeline / deploy-beta (push) Successful in 6s

This commit is contained in:
vickytechkey 2026-08-09 21:52:40 +05:30
parent b73610521c
commit b391ce9090

View file

@ -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';
}; };