remote-file: add --remote-root option for security
This commit is contained in:
parent
e6394746e3
commit
03812933c5
4 changed files with 9 additions and 1 deletions
|
|
@ -76,6 +76,7 @@ var makeDefaultConfig = function(argv){
|
|||
noGpu: argv['disable-gpu'] || false,
|
||||
readOnly: argv['read-only'] || false,
|
||||
remoteSaving: argv['remote-saving'] ? RegExp(argv['remote-saving']) : false,
|
||||
remoteRoot: argv['remote-root'] || false,
|
||||
midi: argv['midi'],
|
||||
stateFile: (function(){
|
||||
if (!argv['state']) return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue