diff --git a/pairent_frontend_react/src/constants.js b/pairent_frontend_react/src/constants.js index 1555b96..8d1125d 100644 --- a/pairent_frontend_react/src/constants.js +++ b/pairent_frontend_react/src/constants.js @@ -2,11 +2,7 @@ * Api root path * @type {string} */ -const API_ROOT = - window.location.protocol + - - import.meta.env.DEV ? - '//127.0.0.1:8000' : - '//pairent.vvsu.ru'; +const API_ROOT = '//127.0.0.1:8000'; +// ДЛЯ ПРОДА ПОСТАВИТЬ ЭТО: '//pairent.vvsu.ru' module.exports = Object.freeze({ API_ROOT }); \ No newline at end of file