You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allowing file:// could profit any library or script that really just needs the contents of a file and doesn't really care where it is.... just like deno run in fact.
At this moment, you'd have to implement some kind of wrapper.
The title says it all. I'd like if
fetch
could also open local files, just like the browser can if the origin istfile://
.There is even a test that checks that this does not work here:
deno/cli/tests/unit/fetch_test.ts
Lines 14 to 20 in e568ddf
Allowing
file://
could profit any library or script that really just needs the contents of a file and doesn't really care where it is.... just likedeno run
in fact.At this moment, you'd have to implement some kind of wrapper.
There are a few things interesting points to look out for:
The text was updated successfully, but these errors were encountered: