fix: route param fallback not empty string (#2146)

This commit is contained in:
Marvin Hagemeister
2023-12-06 09:33:36 +01:00
committed by GitHub
parent c05a6b1496
commit c72f534369
4 changed files with 20 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
import { PageProps, RouteConfig } from "$fresh/server.ts";
export default function Page(props: PageProps) {
return <pre>{JSON.stringify(props.params, null, 2)}</pre>;
}
export const config: RouteConfig = {
routeOverride: "/std{@:version}?/:path*",
};