summaryrefslogtreecommitdiff
path: root/share/server/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/server/main.js')
-rw-r--r--share/server/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/server/main.js b/share/server/main.js
index 286fd9c0..723bf655 100644
--- a/share/server/main.js
+++ b/share/server/main.js
@@ -207,6 +207,7 @@ try {
sandbox.emit = emit;
sandbox.sum = sum;
sandbox.log = log;
+ sandbox.toJSON = toJSON;
sandbox.respondWith = respondWith;
sandbox.registerType = registerType;
} catch (e) {}