summaryrefslogtreecommitdiff
path: root/template/rooms/dump2.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/rooms/dump2.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/rooms/dump2.st')
-rwxr-xr-xtemplate/rooms/dump2.st10
1 files changed, 5 insertions, 5 deletions
diff --git a/template/rooms/dump2.st b/template/rooms/dump2.st
index 658854d..35a61a2 100755
--- a/template/rooms/dump2.st
+++ b/template/rooms/dump2.st
@@ -49,7 +49,7 @@
$if(user_nick)$ //
$else$
function showAlert() {
- alert('Join dump.fm @ http://hump.fm/register');
+ alert('Join dump.fm @ /register');
}
$endif$
@@ -82,11 +82,11 @@
}
#welcome-rapper span:nth-child(5){
- background:url(http://hump.fm/images/20121011/1349988916417-dumpfm-natasaurus-goes8_hg.gif)no-repeat center;
+ background:url(https://archive.hump.fm/images/20121011/1349988916417-dumpfm-natasaurus-goes8_hg.gif)no-repeat center;
background-size:cover;
}
#welcome-rapper span:nth-child(2){
- background:url(http://hump.fm/images/20121001/1349067392929-dumpfm-kiptok-fuckyousmall.png)no-repeat center;
+ background:url(https://archive.hump.fm/images/20121001/1349067392929-dumpfm-kiptok-fuckyousmall.png)no-repeat center;
background-size:cover;
}
#welcome-rapper span:nth-child(4){
@@ -108,7 +108,7 @@
$if(!user_nick)$
<div id="welcome-rapper">
<span>
- <iframe src="http://hump.fm/fullscreen"></iframe>
+ <iframe src="/fullscreen"></iframe>
</span>
<span>
<h1>
@@ -136,7 +136,7 @@
<div id="midtxt">dump.fm lets you <i>talk with pictures!</i> Paste an image url, upload, or snap a pic right from your webcam. Talk to friends, fav images, and keep track of the pix you love.
<br><br>
<span id="signintxt">
- If you already have an account <strong><a href="http://hump.fm/login" class="signin">sign in</a></strong> If not <strong><a href="http://hump.fm/register">register</a></strong>!
+ If you already have an account <strong><a href="/login" class="signin">sign in</a></strong> If not <strong><a href="/register">register</a></strong>!
</span>
</center>
</div>