diff --git a/Source/Function/Worker.ts b/Source/Function/Worker.ts index e032c139..b024e52f 100644 --- a/Source/Function/Worker.ts +++ b/Source/Function/Worker.ts @@ -7,6 +7,8 @@ export default >{ const url = new URL(request.url); if (url.pathname.startsWith("/functions/")) { + const File = await import(url.pathname); + console.log(File); return new Response(url.pathname); }