diff --git a/pairent_frontend_react/src/constants.js b/pairent_frontend_react/src/constants.js index a017078..0b2a3e4 100644 --- a/pairent_frontend_react/src/constants.js +++ b/pairent_frontend_react/src/constants.js @@ -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