1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 00:29:09 -05:00
denoland-deno/tests/specs/permission/allow_import_worker/main.ts

9 lines
146 B
TypeScript
Raw Normal View History

new Worker(import.meta.resolve("./worker.ts"), {
type: "module",
deno: {
permissions: {
import: ["127.0.0.1:4250"],
},
},
});