Fix malformed url

This commit is contained in:
monoid 2023-01-14 03:43:43 +09:00
parent 56ed63b25f
commit cb4766cc17

View File

@ -1,4 +1,4 @@
import { HandlerContext, Handlers, PageProps } from "$fresh/server.ts";
import { HandlerContext, Handlers, PageProps, RouteConfig } from "$fresh/server.ts";
import { asset, Head } from "$fresh/runtime.ts";
import {
decodePath,
@ -243,3 +243,7 @@ export default function DirLists(props: PageProps<DirOrFileProps>) {
</>
);
}
export const config : RouteConfig = {
routeOverride: "/dir/**{/}?"
}