From fc9a4ea22eb91757b95cbe1bf1708be17fc2337a Mon Sep 17 00:00:00 2001 From: yo momma Date: Tue, 27 Jan 2026 03:33:16 +0000 Subject: Fix HTTPS/mixed content; make config env-driven - Replace hardcoded dump.fm URLs with host/scheme config\n- Add optional passwordless login flow\n- Update templates/static assets to avoid blocked HTTP resources\n- Ignore local uploads/SQL dumps --- static/js/src/_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/js/src/_main.js') diff --git a/static/js/src/_main.js b/static/js/src/_main.js index c95b98a..d97b0ac 100755 --- a/static/js/src/_main.js +++ b/static/js/src/_main.js @@ -1,7 +1,7 @@ // The root domain is used so that subdomains don't result in // spurious extra urls (e.g. both dump.fm/nick and sub.dump.fm/nick) window.RootDomain = location.href.match(/http:\/\/(\w)+\./) - ? 'http://dump.fm/' : '/'; + ? '/' : '/'; window.cache = {}; window.PendingMessages = {}; -- cgit v1.2.3-70-g09d2