Enabling optional https in development
This commit is contained in:
parent
371b4f0063
commit
d18abaf067
4 changed files with 27 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
const DEBUG_MODE: boolean = process.env.DEBUG_MODE == "true";
|
||||
const API_URL = process.env.API_URL || "http://api.workadventure.localhost";
|
||||
const API_URL = window.location.protocol + '//' + process.env.API_URL || "http://api.workadventure.localhost";
|
||||
const RESOLUTION = 3;
|
||||
const ZOOM_LEVEL = 1/*3/4*/;
|
||||
const POSITION_DELAY = 200; // Wait 200ms between sending position events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue