Clone the people page: urls with legacy redirects, chrome, tabs, search

This commit is contained in:
Ian Gulliver
2026-08-15 18:08:31 -07:00
parent 07190dadb4
commit a37f148657
11 changed files with 848 additions and 221 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func main() {
mux := http.NewServeMux()
authn.Register(mux)
directory.Register(mux, cache)
mux.Handle("GET /{$}", http.RedirectHandler("/directory/", http.StatusFound))
mux.Handle("GET /{$}", http.RedirectHandler("/people", http.StatusFound))
mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.Dir("web/static"))))
port := os.Getenv("PORT")
if port == "" {