partey_workadventure/front/src/Enum/EnvironmentVariable.ts

13 lines
322 B
TypeScript
Raw Normal View History

2020-04-13 19:40:10 +02:00
const DEBUG_MODE: boolean = !!process.env.DEBUG_MODE || false;
const API_URL = process.env.API_URL || "http://api.workadventure.localhost";
2020-04-07 20:41:35 +02:00
const ROOM = [process.env.ROOM || "THECODINGMACHINE"];
const RESOLUTION = 2;
const ZOOM_LEVEL = 3/4;
export {
2020-04-13 19:40:10 +02:00
DEBUG_MODE,
API_URL,
2020-04-07 20:41:35 +02:00
RESOLUTION,
ZOOM_LEVEL,
2020-04-07 20:41:35 +02:00
ROOM
}