2020-04-04 17:22:02 +02:00
|
|
|
const SECRET_KEY = process.env.SECRET_KEY || "THECODINGMACHINE_SECRET_KEY";
|
2020-05-10 23:49:08 +02:00
|
|
|
const URL_ROOM_STARTED = "/Floor0/floor0.json";
|
2020-05-03 17:46:26 +02:00
|
|
|
const MINIMUM_DISTANCE = process.env.MINIMUM_DISTANCE ? Number(process.env.MINIMUM_DISTANCE) : 64;
|
|
|
|
const GROUP_RADIUS = process.env.GROUP_RADIUS ? Number(process.env.GROUP_RADIUS) : 48;
|
2020-09-11 09:56:05 +02:00
|
|
|
const ALLOW_ARTILLERY = process.env.ALLOW_ARTILLERY ? process.env.ALLOW_ARTILLERY == 'true' : false;
|
2020-04-04 17:22:02 +02:00
|
|
|
|
|
|
|
export {
|
2020-04-04 19:25:08 +02:00
|
|
|
SECRET_KEY,
|
2020-05-10 13:58:32 +02:00
|
|
|
URL_ROOM_STARTED,
|
2020-05-03 16:56:19 +02:00
|
|
|
MINIMUM_DISTANCE,
|
2020-09-11 09:56:05 +02:00
|
|
|
GROUP_RADIUS,
|
|
|
|
ALLOW_ARTILLERY
|
2020-05-03 16:56:19 +02:00
|
|
|
}
|