summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2025-08-06 19:42:43 -0400
committerRobby Zambito <contact@robbyzambito.me>2025-08-06 19:44:31 -0400
commita5ac279f6882d27b92e482125a87635d9c1ad00d (patch)
tree527e5ab68a3e605ec2b6d7ebd32a057971796201 /static
parentd35903bf5b56cc40e3b61d34f57c192d6a8b3430 (diff)
Use /api/v1 for the API prefix
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