allowing file:// URI to access other file:// URIs for filesytem api use
This commit is contained in:
parent
add7f8a4aa
commit
32ba219146
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ void AtomMainDelegate::PreSandboxStartup() {
|
|||
// Disable renderer sandbox for most of node's functions.
|
||||
command_line->AppendSwitch(switches::kNoSandbox);
|
||||
|
||||
// Allow file:// URIs to read other file:// URIs by default.
|
||||
command_line->AppendSwitch(switches::kAllowFileAccessFromFiles);
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
// Enable AVFoundation.
|
||||
command_line->AppendSwitch("enable-avfoundation");
|
||||
|
|
Loading…
Reference in a new issue