diff --git a/frontend/js/api.js b/frontend/js/api.js index 8d85965..537983b 100644 --- a/frontend/js/api.js +++ b/frontend/js/api.js @@ -1,5 +1,5 @@ // frontend/js/api.js -const API_BASE = `http://${window.location.hostname}:5000/api`; +const API_BASE = "/api"; function getHeaders() {