From ae231c97f60c762bf96ab9034c31897378255006 Mon Sep 17 00:00:00 2001 From: Sam Rolfe Date: Mon, 10 Aug 2026 11:51:58 +1000 Subject: [PATCH] compat: /index.php?productid= legacy URL form redirects to /t/{code} (covers old printed QR URLs) --- frontend/main.go | 1 + 1 file changed, 1 insertion(+) 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)