diff --git a/frontend/main.go b/frontend/main.go index 3d76545..f6d207f 100644 --- a/frontend/main.go +++ b/frontend/main.go @@ -66,6 +66,7 @@ func main() { mux := http.NewServeMux() mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static")))) mux.HandleFunc("GET /{$}", app.Home) + mux.HandleFunc("GET /index.php", app.Home) // legacy old-site URL form (?x=5&productid=…) mux.HandleFunc("GET /about", app.About) mux.HandleFunc("GET /what-is-this", app.WhatIsThis) mux.HandleFunc("GET /contact", app.Contact)