From a5ac279f6882d27b92e482125a87635d9c1ad00d Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Wed, 6 Aug 2025 19:42:43 -0400 Subject: Use /api/v1 for the API prefix --- static/contact-script.js | 2 +- static/login-script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'static') 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 -- cgit