fix: route param fallback not empty string (#2146)
This commit is contained in:
@@ -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*",
|
||||
};
|
||||
Reference in New Issue
Block a user