Skip to content

Commit

Permalink
fix: enable readFileSyncAPI in user workers (#2883)
Browse files Browse the repository at this point in the history
  • Loading branch information
laktek authored Nov 14, 2024
2 parents 65d8be4 + ccf52ad commit 8f3034e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/functions/serve/templates/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ Deno.serve({
cpuTimeSoftLimitMs,
cpuTimeHardLimitMs,
decoratorType,
maybeEntrypoint
maybeEntrypoint,
context: {
useReadSyncFileAPI: true,
},
});

return await worker.fetch(req);
Expand Down

0 comments on commit 8f3034e

Please sign in to comment.