fix constants.js api url

This commit is contained in:
b1ek 2023-05-17 15:08:34 +10:00
parent 930a440b02
commit 11a63713b9
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const api_path = path => API_ROOT + path;
* Api root path
* @type {string}
*/
const API_ROOT = window.location.protocol + window.location.host;
const API_ROOT = window.location.protocol + '//' + window.location.host;
// ДЛЯ ПРОДА ПОСТАВИТЬ ЭТО: '//' + window.location.host
/** OpenID Connect Client Config