summaryrefslogtreecommitdiff
path: root/src/imgreplacer.clj
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 /src/imgreplacer.clj
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 'src/imgreplacer.clj')
-rwxr-xr-xsrc/imgreplacer.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imgreplacer.clj b/src/imgreplacer.clj
index 03ae0e6..53e14c8 100755
--- a/src/imgreplacer.clj
+++ b/src/imgreplacer.clj
@@ -83,4 +83,4 @@
(defn mirror-message-id! [msg-id dryrun]
(if-let [m (first (do-select ["SELECT * FROM messages WHERE message_id = ?" msg-id]))]
(mirror-message! m dryrun
- #(not (re-find #"^http://dump.fm" %))))) \ No newline at end of file
+ #(not (re-find #"^/" %))))) \ No newline at end of file