Skip to content

Commit e673cee

Browse files
committed
Internal - Fix Deno --allow-all
1 parent 3bb646b commit e673cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webui.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5214,13 +5214,13 @@ static int _webui_interpret_file(_webui_window_t* win, struct mg_connection* cli
52145214
#ifdef _WIN32
52155215
WEBUI_SN_PRINTF_DYN(
52165216
cmd, bf_len,
5217-
"Set NO_COLOR=1&Set DENO_NO_UPDATE_CHECK=1&deno run --quiet --allow-all --unstable-ffi --allow-ffi \"%s\" \"%s\"",
5217+
"Set NO_COLOR=1&Set DENO_NO_UPDATE_CHECK=1&deno run --quiet --allow-read --allow-write --allow-net --allow-env --allow-ffi \"%s\" \"%s\"",
52185218
full_path, query
52195219
);
52205220
#else
52215221
WEBUI_SN_PRINTF_DYN(
52225222
cmd, bf_len,
5223-
"NO_COLOR=1;DENO_NO_UPDATE_CHECK=1;deno run --quiet --allow-all --unstable-ffi --allow-ffi \"%s\" \"%s\"",
5223+
"NO_COLOR=1;DENO_NO_UPDATE_CHECK=1;deno run --quiet --allow-read --allow-write --allow-net --allow-env --allow-ffi \"%s\" \"%s\"",
52245224
full_path, query
52255225
);
52265226
#endif

0 commit comments

Comments
 (0)