comments, move functions, scrapbook progress
This commit is contained in:
@@ -211,7 +211,7 @@ async function sendRawFile(socket, path) {
|
||||
|
||||
var runScriptInVM = function (script_data, user_contextObj = {}, privileged = false, filename = null, debug_name = null) {
|
||||
// Here we define the ServiceVault Script Context Object
|
||||
// The ServiceVault scripts will only be allowed to access the following fcnutions/variables.
|
||||
// The ServiceVault scripts will only be allowed to access the following functions/variables.
|
||||
// Furthermore, only modifications to variables in `updateFromVM` will be saved.
|
||||
// Example: an attempt to change "minisrv_config" from a ServiceVault script would be discarded
|
||||
|
||||
@@ -240,8 +240,8 @@ var runScriptInVM = function (script_data, user_contextObj = {}, privileged = fa
|
||||
"wtvmime": wtvmime,
|
||||
"http": http,
|
||||
"https": https,
|
||||
"URL": URL,
|
||||
"sharp": sharp,
|
||||
"URL": URL,
|
||||
"wtvshared": wtvshared,
|
||||
"zlib": zlib,
|
||||
"clientShowAlert": clientShowAlert,
|
||||
|
||||
Reference in New Issue
Block a user