summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/contact-script.js2
-rw-r--r--static/login-script.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/static/contact-script.js b/static/contact-script.js
index d436dd5..7f40271 100644
--- a/static/contact-script.js
+++ b/static/contact-script.js
@@ -125,7 +125,7 @@ const showToast = (message, type = 'success') => {
};
// API Configuration
-const API_BASE_URL = 'https://api.taskflow.com/v1';
+const API_BASE_URL = '/api/v1';
const CONTACT_ENDPOINT = `${API_BASE_URL}/contact`;
// Submit contact form
diff --git a/static/login-script.js b/static/login-script.js
index 2500cca..4e80b5c 100644
--- a/static/login-script.js
+++ b/static/login-script.js
@@ -12,7 +12,7 @@ const passwordError = document.getElementById('passwordError');
const generalError = document.getElementById('generalError');
// API Configuration
-const API_BASE_URL = '/v1';
+const API_BASE_URL = '/api/v1';
const LOGIN_ENDPOINT = `${API_BASE_URL}/auth/login`;
// Password visibility toggle