summaryrefslogtreecommitdiff
path: root/template/profilenew.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/profilenew.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/profilenew.st')
-rwxr-xr-xtemplate/profilenew.st10
1 files changed, 5 insertions, 5 deletions
diff --git a/template/profilenew.st b/template/profilenew.st
index 5104b98..905e49e 100755
--- a/template/profilenew.st
+++ b/template/profilenew.st
@@ -34,7 +34,7 @@ jQuery(document).ready(function() {
$if(avatar)$
<div id="dashtotal"style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div>
$else$
- <div id="dashtotal"style="background-image:url(http://hump.fm/static/img/thumbs/stripes.gif);width:100%;height:100%;z-index:-1"></div>
+ <div id="dashtotal"style="background-image:url(/static/img/thumbs/stripes.gif);width:100%;height:100%;z-index:-1"></div>
$endif$
$banner()$
@@ -92,16 +92,16 @@ jQuery(document).ready(function() {
<div class="logged-dump">
- <h2><a href="http://hump.fm/$nick$/log">$if(is_home)$ your $else$ $nick$'s$endif$ posts &#10145;</a></h2>
+ <h2><a href="/$nick$/log">$if(is_home)$ your $else$ $nick$'s$endif$ posts &#10145;</a></h2>
<hr>
- <h2><a href="http://hump.fm/$nick$/favorites"> $if(is_home)$ your $else$ $nick$'s $endif$ favs &#10145;</a></h2>
+ <h2><a href="/$nick$/favorites"> $if(is_home)$ your $else$ $nick$'s $endif$ favs &#10145;</a></h2>
<hr>
- <a href="http://hump.fm/$nick$/popular"><h3> $if(is_home)$ your $else$ $nick$'s$endif$ most popular &#10145;</h3></a>
+ <a href="/$nick$/popular"><h3> $if(is_home)$ your $else$ $nick$'s$endif$ most popular &#10145;</h3></a>
</div>
<div class="logged-dump">
- <a href="http://hump.fm/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent dumps</div></a>
+ <a href="/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent dumps</div></a>
<div class="logged-dump">
$imgs: { img | <a target="_blank" href="$img$"><img src="$img$"></img></a> }$
</div>