The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

internal/lume: don't nuke the repo

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso b5418401 1e2d398e

-8
-4
cmd/xesite/main.go
··· 91 91 http.Redirect(w, r, "/blog.rss", http.StatusMovedPermanently) 92 92 }) 93 93 94 - // NOTE(Xe): Had to rename this page because of a Lume/Go embed bug. 95 - mux.HandleFunc(`/blog/%F0%9F%A5%BA`, func(w http.ResponseWriter, r *http.Request) { 96 - http.Redirect(w, r, "/blog/xn--ts9h/", http.StatusMovedPermanently) 97 - }) 98 94 mux.HandleFunc(`/blog/🥺`, func(w http.ResponseWriter, r *http.Request) { 99 95 http.Redirect(w, r, "/blog/xn--ts9h/", http.StatusMovedPermanently) 100 96 })
-4
internal/lume/lume.go
··· 81 81 cl.Close() 82 82 } 83 83 84 - if f.repo != nil { 85 - os.RemoveAll(f.repoDir) 86 - } 87 - 88 84 return nil 89 85 } 90 86