feat: update API base URL to point to production EC2 backend
This commit is contained in:
parent
420df528a6
commit
54f1664980
1 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
const getApiBaseUrl = () => {
|
||||
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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue