make URL case insensitive

This commit is contained in:
joneugster
2023-11-28 11:05:50 +01:00
parent 2213862998
commit 1d2420331d
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -34,6 +34,11 @@ const router = createHashRouter([
path: "/game/nng",
loader: () => redirect("/g/hhu-adam/NNG4")
},
{
// For backwards compatibility
path: "/g/hhu-adam/NNG4",
loader: () => redirect("/g/leanprover-community/NNG4")
},
{
path: "/g/:owner/:repo",
element: <App />,