summaryrefslogtreecommitdiff
path: root/template/head.st
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 /template/head.st
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 'template/head.st')
-rwxr-xr-xtemplate/head.st10
1 files changed, 5 insertions, 5 deletions
diff --git a/template/head.st b/template/head.st
index 323bd8a..9671eaf 100755
--- a/template/head.st
+++ b/template/head.st
@@ -2,8 +2,8 @@
<meta name="keywords" content="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board, scott ostler, ryder ripps">
<meta name="description" content="dump.fm - Talk with pictures!" />
<script type="text/javascript" src="/static/js/jquery-1.4.2.min.js"></script>
-<link rel="shortcut icon" href="http://hump.fm/static/favicon.ico">
-<link rel="image_src" href="http://hump.fm/static/img/thumbs/heartover.gif" >
+<link rel="shortcut icon" href="/static/favicon.ico">
+<link rel="image_src" href="/static/img/thumbs/heartover.gif" >
<!-- <script type="text/javascript" src="$domain$/static/js/jquery-ui-1.8.effects.min.js"></script> -->
<script type="text/javascript" src="$domain$/static/js/pichat.js"></script>
<link rel="stylesheet" type="text/css" href="$domain$/static/css/dump.css">
@@ -15,11 +15,11 @@ $if(!user_nick)$
<script type="text/javascript" src="$domain$/static/js/popup.js"></script>
$endif$
$if(isadmin)$
-<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css"
+<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css"
type="text/css" media="all" />
<link rel="stylesheet" href="$domain$/static/css/admin.css"
type="text/css" media="all" />
-<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"
+<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"
type="text/javascript"></script>
<script src="$domain$/static/js/admin.js" type="text/javascript"></script>
$endif$
@@ -28,6 +28,6 @@ $endif$
<!--[if IE]>
<script>
-window.location = "http://hump.fm/error/ie";
+window.location = "/error/ie";
</script>
<![endif]-->