From 21d28f9b5f4c4b5a0f47dbc28abf3048ddca1c95 Mon Sep 17 00:00:00 2001 From: natalie roentgen connolly Date: Mon, 23 Jun 2025 03:49:45 -0700 Subject: [PATCH] add route for old 88x31 button uri --- srv/content/router.hy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srv/content/router.hy b/srv/content/router.hy index 5cd180c..d5b1549 100644 --- a/srv/content/router.hy +++ b/srv/content/router.hy @@ -68,6 +68,11 @@ :code 200 :body (parse-html-file "./www/site/html/test.html" :route "/test.html")))) + (when (= path "/files/natalieee.net.png") + (return (dict + :code 308 + :headers {"Location" "/assets/88x31/natalieee.net.png"} + :body ""))) (when (= path "/comment") (cond