Enabling optional https in development
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user