diff options
| -rw-r--r-- | cmd/xesite/main.go | 4 | ||||
| -rw-r--r-- | internal/lume/lume.go | 4 |
2 files changed, 0 insertions, 8 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) }) diff --git a/internal/lume/lume.go b/internal/lume/lume.go index dd12cf1..2118188 100644 --- a/internal/lume/lume.go +++ b/internal/lume/lume.go @@ -81,10 +81,6 @@ func (f *FS) Close() error { cl.Close() } - if f.repo != nil { - os.RemoveAll(f.repoDir) - } - return nil } |
