The code and data behind xeiaso.net
5
fork

Configure Feed

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

cmd/xesite: fix IRC: why it failed talk link on orange site

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

Xe Iaso 3ae65eb3 2821c048

+4
+4
cmd/xesite/main.go
··· 116 116 117 117 mux.Handle("/.within/hook/patreon", &PatreonWebhook{fs: fs}) 118 118 119 + mux.HandleFunc("/static/talks/irc-why-it-failed.pdf", func(w http.ResponseWriter, r *http.Request) { 120 + http.Redirect(w, r, "https://cdn.xeiaso.net/file/christine-static/static/talks/irc-why-it-failed.pdf", http.StatusMovedPermanently) 121 + }) 122 + 119 123 var h http.Handler = mux 120 124 h = internal.ClackSet(fs.Clacks()).Middleware(h) 121 125 h = internal.CacheHeader(h)