logoalt Hacker News

syrusakbaryyesterday at 7:51 PM1 replyview on HN

Only the current working directory will be exposed/mounted to the runtime (we do this to facilitate the DX when running local files without requiring the user to add extra flags).

As a fun exercise, you can try reading process.cwd() from edge in --safe mode and without it.


Replies

micecoftoday at 12:45 PM

but what if I want to expose / mount more files in the sandbox?

need docs