feat: update API base URL to point to production EC2 backend
All checks were successful
Beta CI/CD Pipeline / build-and-test (push) Successful in 59s
Beta CI/CD Pipeline / deploy-beta (push) Successful in 13s

This commit is contained in:
vickytechkey 2026-09-05 15:45:21 +05:30
parent 420df528a6
commit 54f1664980

View file

@ -1,8 +1,9 @@
const getApiBaseUrl = () => { const getApiBaseUrl = () => {
if (import.meta.env.DEV) { if (import.meta.env.DEV) {
return 'http://127.0.0.1:8000'; return 'http://127.0.0.1:8000'; // Or your local backend port
} }
return ''; // Production API (The EC2 Django Backend)
return 'http://16.113.57.127:8080';
}; };
export const CONFIG = { export const CONFIG = {