Revert "eval fix"

This reverts commit c2cfb4b81c.
This commit is contained in:
Hri7566 2022-09-10 01:24:18 -04:00
parent 09acb758fc
commit bb58eac9a5
3 changed files with 7 additions and 7 deletions

6
.env
View File

@ -1,7 +1,7 @@
ADMINPASS=bacon sandwich ADMINPASS=bacon sandwich
SALT=๖ۣۜH͜r̬i͡7566 SALT=๖ۣۜH͜r̬i͡7566
# MONGO_URL=mongodb://7566:Phillies11@127.0.0.1/?authSource=admin&readPreference=primary&appname=MongoDB%20Compass&ssl=false MONGO_URL=mongodb://7566:Phillies11@127.0.0.1/?authSource=admin&readPreference=primary&appname=MongoDB%20Compass&ssl=false
MONGO_URL=mongodb://127.0.0.1:27017 # MONGO_URL=mongodb://127.0.0.1:27017
SSL=false SSL=true
MPPCLONE_TOKEN=056921b5199a52cf926baaed.15646cde-7a71-40d5-880c-5b283265c6fd MPPCLONE_TOKEN=056921b5199a52cf926baaed.15646cde-7a71-40d5-880c-5b283265c6fd

View File

@ -1,6 +1,6 @@
module.exports = Object.seal({ module.exports = Object.seal({
port: 8443, port: 8443,
// motd: "humongous clement", motd: "humongous clement",
_id_PrivateKey: process.env.SALT, _id_PrivateKey: process.env.SALT,
// defaultLobbyColor: "#19b4b9", // defaultLobbyColor: "#19b4b9",
@ -23,6 +23,6 @@ module.exports = Object.seal({
visible: true visible: true
}, },
hostDevFiles: true, hostDevFiles: false,
enableMPPCloneBot: false enableMPPCloneBot: true
}); });

View File

@ -96,7 +96,7 @@ class InternalBot {
break; break;
case "eval": case "eval":
if (!isAdmin) return; if (!isAdmin) return;
cl.server.ev(argcat); cl.server.eval(argcat);
break; break;
} }
}); });