Skip to content

Commit 1693c67

Browse files
committed
url
1 parent 994c66e commit 1693c67

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

worker/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const redirectsEvaluator = generateRedirectsEvaluator(redirectsFileContents);
1616

1717
export default class extends WorkerEntrypoint<Env> {
1818
override async fetch(request: Request) {
19-
const url = new URL(request.url);
2019
if (request.url.endsWith("/index.md")) {
2120
const res = await this.env.ASSETS.fetch(
2221
request.url.replace("index.md", ""),

0 commit comments

Comments
 (0)