Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 83e1e00

Browse files
committed
Fix source map handler
1 parent 037ff3f commit 83e1e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function createHandler(config: AlephConfig) {
9191
transformer.test(pathname)
9292
)
9393
) {
94-
if (pathname.endsWith(".js.map") && pathname.startsWith("/-/")) {
94+
if (pathname.endsWith(".map") && pathname.startsWith("/-/")) {
9595
const [content, contentType] = await fetchCode(restoreUrl(pathname));
9696
return new Response(content, {
9797
headers: [["Content-Type", contentType]],

0 commit comments

Comments
 (0)