Skip to content

Commit 72a0b29

Browse files
axm2dom96
authored andcommitted
Resolve TODO
1 parent 55bc8a2 commit 72a0b29

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

06-assets/src/worker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ async def fetch(self, request):
2727
if path in ["/", "/index.html"]:
2828
return Response(INDEX_PAGE, headers={"Content-Type": "text/html"})
2929

30-
# TODO: Once https://github.com/cloudflare/workerd/pull/4926 is released, can do
31-
# self.env.ASSETS.fetch(request) without the .js_object
32-
return await self.env.ASSETS.fetch(request.js_object)
30+
return await self.env.ASSETS.fetch(request)

0 commit comments

Comments
 (0)