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
|
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=true
|
SSL=false
|
||||||
|
|
||||||
MPPCLONE_TOKEN=056921b5199a52cf926baaed.15646cde-7a71-40d5-880c-5b283265c6fd
|
MPPCLONE_TOKEN=056921b5199a52cf926baaed.15646cde-7a71-40d5-880c-5b283265c6fd
|
||||||
|
|
|
@ -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: false,
|
hostDevFiles: true,
|
||||||
enableMPPCloneBot: true
|
enableMPPCloneBot: false
|
||||||
});
|
});
|
||||||
|
|
|
@ -96,7 +96,7 @@ class InternalBot {
|
||||||
break;
|
break;
|
||||||
case "eval":
|
case "eval":
|
||||||
if (!isAdmin) return;
|
if (!isAdmin) return;
|
||||||
cl.server.eval(argcat);
|
cl.server.ev(argcat);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue