We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d96afdb commit a6ab1bdCopy full SHA for a6ab1bd
worker/index.ts
@@ -23,10 +23,7 @@ export default class extends WorkerEntrypoint<Env> {
23
});
24
}
25
26
- if (
27
- request.url.endsWith("/index.md") ||
28
- request.headers.get("accept")?.includes("text/markdown")
29
- ) {
+ if (request.url.endsWith("/index.md")) {
30
const htmlUrl = request.url.replace("index.md", "");
31
const res = await this.env.ASSETS.fetch(htmlUrl, request);
32
0 commit comments