From 2badf404e22d93869304d47ee158a948283b320c Mon Sep 17 00:00:00 2001 From: Foster Hangdaan Date: Wed, 11 Dec 2024 18:30:09 -0500 Subject: [PATCH] Update task permissions Allow import for certain hosts. --- deno.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deno.json b/deno.json index 9ab5db3..ff09701 100644 --- a/deno.json +++ b/deno.json @@ -8,9 +8,9 @@ ] }, "tasks": { - "build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-sys=networkInterfaces --deny-env lume.ts", - "check": "deno fmt --check && deno lint && deno check .", - "serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-sys=networkInterfaces --deny-env lume.ts -s", + "build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-import=code.fosterhangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts", + "check": "deno fmt --check && deno lint && deno check --allow-import=code.fosterhangdaan.com,deno.land,jsr.io .", + "serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-import=code.fosterhangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts -s", "deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/fosterhangdaan.com/" }, "imports": {