Wés
Wés2d ago

Permission sets not working with `jsr:@std/http/file-server`

This is my first time trying the new permission config, bear w/ me plz. I'm trying to use permission sets for a static file server task and it still asks for the permissions when running: Here is my deno.json:
deno.json
{
"tasks": {
"dev": "deno run -P jsr:@std/http/file-server"
},
"permissions": {
"default": {
"read": true,
"net": true,
"sys": {
"allow": [
"networkInterfaces"
]
}
}
},
"imports": {
"@std/http": "jsr:@std/http@^1.0.21"
}
}
deno.json
{
"tasks": {
"dev": "deno run -P jsr:@std/http/file-server"
},
"permissions": {
"default": {
"read": true,
"net": true,
"sys": {
"allow": [
"networkInterfaces"
]
}
}
},
"imports": {
"@std/http": "jsr:@std/http@^1.0.21"
}
}
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?