Fix malformed url
This commit is contained in:
parent
56ed63b25f
commit
cb4766cc17
1 changed files with 5 additions and 1 deletions
|
@ -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 { asset, Head } from "$fresh/runtime.ts";
|
||||||
import {
|
import {
|
||||||
decodePath,
|
decodePath,
|
||||||
|
@ -243,3 +243,7 @@ export default function DirLists(props: PageProps<DirOrFileProps>) {
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const config : RouteConfig = {
|
||||||
|
routeOverride: "/dir/**{/}?"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue