ls-deno/routes/route-config-example.tsx
2022-09-27 14:41:17 -05:00

15 lines
355 B
TypeScript

import { RouteConfig } from "$fresh/server.ts";
export const config: RouteConfig = {
routeOverride: "/route-override-example",
};
export default function AboutPage() {
return (
<main>
<h1>RouteConfigExample</h1>
<p>This is the RouteConfigExample page. It should only be accessible from /route-override-example</p>
</main>
);
}