summaryrefslogtreecommitdiff
path: root/static/js/src/_main.js
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-01-27 03:33:16 +0000
committeryo momma <shutup@oops.wtf>2026-01-27 03:33:16 +0000
commitfc9a4ea22eb91757b95cbe1bf1708be17fc2337a (patch)
tree76a0122149e3288ee21d7fb6d0410b1b7b8970a4 /static/js/src/_main.js
parent25b74138d68ade87689e714f10e1f3116da5bbee (diff)
Fix HTTPS/mixed content; make config env-drivenHEADmaster2026
- 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
Diffstat (limited to 'static/js/src/_main.js')
-rwxr-xr-xstatic/js/src/_main.js2
1 files changed, 1 insertions, 1 deletions
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 = {};