forked from Hri7566/mpp-server-dev2
eval fix
This commit is contained in:
parent
987e3a186d
commit
c2cfb4b81c
6
.env
6
.env
|
@ -1,7 +1,7 @@
|
|||
ADMINPASS=bacon sandwich
|
||||
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://127.0.0.1:27017
|
||||
SSL=true
|
||||
# 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
|
||||
SSL=false
|
||||
|
||||
MPPCLONE_TOKEN=056921b5199a52cf926baaed.15646cde-7a71-40d5-880c-5b283265c6fd
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module.exports = Object.seal({
|
||||
port: 8443,
|
||||
motd: "humongous clement",
|
||||
// motd: "humongous clement",
|
||||
_id_PrivateKey: process.env.SALT,
|
||||
|
||||
// defaultLobbyColor: "#19b4b9",
|
||||
|
@ -23,6 +23,6 @@ module.exports = Object.seal({
|
|||
visible: true
|
||||
},
|
||||
|
||||
hostDevFiles: false,
|
||||
enableMPPCloneBot: true
|
||||
hostDevFiles: true,
|
||||
enableMPPCloneBot: false
|
||||
});
|
||||
|
|
|
@ -96,7 +96,7 @@ class InternalBot {
|
|||
break;
|
||||
case "eval":
|
||||
if (!isAdmin) return;
|
||||
cl.server.eval(argcat);
|
||||
cl.server.ev(argcat);
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue