Skip to content

Commit a6ab1bd

Browse files
committed
remove markdown handling
1 parent d96afdb commit a6ab1bd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

worker/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ export default class extends WorkerEntrypoint<Env> {
2323
});
2424
}
2525

26-
if (
27-
request.url.endsWith("/index.md") ||
28-
request.headers.get("accept")?.includes("text/markdown")
29-
) {
26+
if (request.url.endsWith("/index.md")) {
3027
const htmlUrl = request.url.replace("index.md", "");
3128
const res = await this.env.ASSETS.fetch(htmlUrl, request);
3229

0 commit comments

Comments
 (0)