aboutsummaryrefslogtreecommitdiff
path: root/cmd/xesite
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-02-24 15:06:01 -0500
committerXe Iaso <me@xeiaso.net>2024-02-24 15:06:01 -0500
commitb541840126b67a8c0fc4fd2aefbba9253ecd1b29 (patch)
treeebe27a2b360897f63a4382382806795cc0553dd1 /cmd/xesite
parent1e2d398efe2e21ddc53a3d94b7357a91b975cfeb (diff)
downloadxesite-b541840126b67a8c0fc4fd2aefbba9253ecd1b29.tar.xz
xesite-b541840126b67a8c0fc4fd2aefbba9253ecd1b29.zip
internal/lume: don't nuke the repo
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/xesite')
-rw-r--r--cmd/xesite/main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/xesite/main.go b/cmd/xesite/main.go
index 65ffbf7..c470855 100644
--- a/cmd/xesite/main.go
+++ b/cmd/xesite/main.go
@@ -91,10 +91,6 @@ func main() {
http.Redirect(w, r, "/blog.rss", http.StatusMovedPermanently)
})
- // NOTE(Xe): Had to rename this page because of a Lume/Go embed bug.
- mux.HandleFunc(`/blog/%F0%9F%A5%BA`, func(w http.ResponseWriter, r *http.Request) {
- http.Redirect(w, r, "/blog/xn--ts9h/", http.StatusMovedPermanently)
- })
mux.HandleFunc(`/blog/🥺`, func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/blog/xn--ts9h/", http.StatusMovedPermanently)
})