index is 404

pull/11/head
pyama 1 year ago
parent a8b37395cb
commit 3471db6e43

@ -253,7 +253,7 @@ func (s *server) handleFrontConnections() error {
})
router.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, s.config.publicURL, http.StatusMovedPermanently)
s.serveContent(w, r, "404.html")
})
s.httpServer = &http.Server{

Loading…
Cancel
Save