Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Sep 30, 2023
1 parent 442d438 commit 1584a16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Function/Worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export default <ExportedHandler<Environment>>{
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);
}

Expand Down

0 comments on commit 1584a16

Please sign in to comment.