Skip to content

Commit 084c5b7

Browse files
committed
fix: forgot to reapply mapRequestToDocs
1 parent f59b721 commit 084c5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ router.all('*', async (req: Request, env: Env, ctx: ExecutionContext) => {
5454
{
5555
// This will map `/x` to `/x/index.html`, if `/x` does not exist.
5656
// This is conventional for HTTP servers.
57-
mapRequestToAsset: cloudflareKVAssetHandler.mapRequestToAsset,
57+
mapRequestToAsset: mapRequestToDocs,
5858
cacheControl,
5959
ASSET_NAMESPACE: env.__STATIC_CONTENT,
6060
ASSET_MANIFEST: assetManifest,

0 commit comments

Comments
 (0)