diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-02-24 15:06:01 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-02-24 15:06:01 -0500 |
| commit | b541840126b67a8c0fc4fd2aefbba9253ecd1b29 (patch) | |
| tree | ebe27a2b360897f63a4382382806795cc0553dd1 /cmd/xesite | |
| parent | 1e2d398efe2e21ddc53a3d94b7357a91b975cfeb (diff) | |
| download | xesite-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.go | 4 |
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) }) |
