diff --git a/06-assets/src/worker.py b/06-assets/src/worker.py index 5ba8980..fd15f5a 100644 --- a/06-assets/src/worker.py +++ b/06-assets/src/worker.py @@ -27,6 +27,4 @@ async def fetch(self, request): if path in ["/", "/index.html"]: return Response(INDEX_PAGE, headers={"Content-Type": "text/html"}) - # TODO: Once https://github.com/cloudflare/workerd/pull/4926 is released, can do - # self.env.ASSETS.fetch(request) without the .js_object - return await self.env.ASSETS.fetch(request.js_object) + return await self.env.ASSETS.fetch(request)