create an env variable for debug mode
This commit is contained in:
parent
751a9f40e5
commit
33c58874e0
7 changed files with 18 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue