partey_workadventure/front/src/Enum/EnvironmentVariable.ts

14 lines
362 B
TypeScript
Raw Normal View History

2020-04-30 19:36:28 +02:00
const DEBUG_MODE: boolean = process.env.DEBUG_MODE as any === true;
const API_URL = process.env.API_URL || "http://api.workadventure.localhost";
2020-05-04 01:48:14 +02:00
const RESOLUTION = 3;
2020-04-27 18:12:36 +02:00
const ZOOM_LEVEL = 1/*3/4*/;
const POSITION_DELAY = 200; // Wait 200ms between sending position events
export {
2020-04-13 19:40:10 +02:00
DEBUG_MODE,
API_URL,
2020-04-07 20:41:35 +02:00
RESOLUTION,
ZOOM_LEVEL,
POSITION_DELAY
2020-04-27 18:12:36 +02:00
}