Get with the times, Old Man
This commit is contained in:
parent
88c68ce0d1
commit
d72cd85229
1 changed files with 0 additions and 6 deletions
|
@ -1,11 +1,5 @@
|
||||||
import { MongoClient } from "mongodb";
|
import { MongoClient } from "mongodb";
|
||||||
|
|
||||||
if (process.env.ENCRYPT_CODE == null) {
|
|
||||||
console.log(
|
|
||||||
"You need to write an encryption code to run a TrollCall server!"
|
|
||||||
);
|
|
||||||
process.exit();
|
|
||||||
}
|
|
||||||
if (process.env.MONGODB_DATABASE == null) {
|
if (process.env.MONGODB_DATABASE == null) {
|
||||||
console.log("You need a MongoDB Database URI to run a TrollCall server!");
|
console.log("You need a MongoDB Database URI to run a TrollCall server!");
|
||||||
process.exit();
|
process.exit();
|
||||||
|
|
Loading…
Reference in a new issue