Moved some server only types like `RouteConfig` into server/. They were previously in runtime/.
8 lines
211 B
TypeScript
8 lines
211 B
TypeScript
/** @jsx h */
|
|
import { h } from "preact";
|
|
import { UnknownPageProps } from "$fresh/server.ts";
|
|
|
|
export default function NotFoundPage({ url }: UnknownPageProps) {
|
|
return <p>404 not found: {url.pathname}</p>;
|
|
}
|