From db4a4319103569cc4e4870126c8f818b5fd08960 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Thu, 26 Mar 2026 13:14:00 +0000 Subject: [PATCH] fix: set CC_BASE before api.js loads to fix login 404 Co-Authored-By: Claude Sonnet 4.6 --- src/static/index.html | 3 ++- src/static/js/app.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/static/index.html b/src/static/index.html index 67c5018..e10338a 100644 --- a/src/static/index.html +++ b/src/static/index.html @@ -15,7 +15,8 @@
- + + diff --git a/src/static/js/app.js b/src/static/js/app.js index b2c7fc6..6425322 100644 --- a/src/static/js/app.js +++ b/src/static/js/app.js @@ -1,8 +1,6 @@ /** * SPA Router & app init. */ -window.CC_BASE = '/cc-dashboard'; - const App = (() => { let _currentUser = null;