/** @jsx h */ import { h } from "preact"; import { PageProps, RouteConfig } from "$fresh/server.ts"; export default function WildcardPage({ params }: PageProps) { if (typeof params.path === "string") { return
{params.path}
; } else { returnNot a string.
; } } export const config: RouteConfig = { routeOverride: "/foo/:path*", };