From 4c50c129eca3cfb8dfa7afc209bb35bca79cfb47 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Mon, 3 Jul 2023 16:46:09 +0700 Subject: [PATCH] improve by making bridge a getter --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9988598..4561a36 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,7 @@ io.on('connection', (socket) => { vm = new VM({ timeout: 3000, sandbox: { - bridge: () => proxy, + get bridge () { return proxy }, randomstring, ChatMessage, mc,