create an env variable for debug mode

This commit is contained in:
kharhamel 2020-04-13 19:40:10 +02:00
parent 751a9f40e5
commit 33c58874e0
7 changed files with 18 additions and 11 deletions

View file

@ -1,8 +1,10 @@
const DEBUG_MODE: boolean = !!process.env.DEBUG_MODE || false;
const API_URL = process.env.API_URL || "http://api.workadventure.localhost";
const ROOM = [process.env.ROOM || "THECODINGMACHINE"];
const RESOLUTION = 2;
export {
DEBUG_MODE,
API_URL,
RESOLUTION,
ROOM