comments, move functions, scrapbook progress

This commit is contained in:
zefie
2025-07-21 14:35:56 -04:00
parent e2b4aca277
commit 90522cc796
16 changed files with 756 additions and 532 deletions

View File

@@ -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,