ft_transcendence/frontend/src/routing/special_routes.ts
Maieul BOYER c898fe8d32
wip
2025-12-10 17:10:13 +01:00

10 lines
294 B
TypeScript

import { escapeHTML } from "@app/utils";
import { getRoute, type RouteHandlerParams } from "@app/routing";
export async function route_404(url: string, _args: RouteHandlerParams): Promise<string> {
return `
<div> 404 - Not Found </div>
<hr />
<center> ${escapeHTML(url)} </center>
`
}