From fc9a4ea22eb91757b95cbe1bf1708be17fc2337a Mon Sep 17 00:00:00 2001 From: yo momma Date: Tue, 27 Jan 2026 03:33:16 +0000 Subject: Fix HTTPS/mixed content; make config env-driven - 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 --- src/imgreplacer.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imgreplacer.clj') 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 -- cgit v1.2.3-70-g09d2