diff --git a/src/api/ProfileServiceAPI.js b/src/api/ProfileServiceAPI.js index 2e7fbd3..b5dda27 100644 --- a/src/api/ProfileServiceAPI.js +++ b/src/api/ProfileServiceAPI.js @@ -1,6 +1,6 @@ import http from './HttpAPI'; -const ROOT_URL = 'http://api.auth.vigdorov.ru/users'; +const ROOT_URL = 'https://api.auth.vigdorov.ru/users'; const profileServiceApi = { getSelfInfo: async () => { diff --git a/src/api/consts.js b/src/api/consts.js index e93e3c0..d276710 100644 --- a/src/api/consts.js +++ b/src/api/consts.js @@ -10,11 +10,11 @@ export const API_NAME_HEADER = 'api-name'; export const API_OPTIONS = { [API_NAMES.PRODUCTION]: { - url: 'http://api.storage.vigdorov.ru', + url: 'https://api.storage.vigdorov.ru', options: {}, }, [API_NAMES.TESTING]: { - url: 'http://api.storage.vigdorov.ru', + url: 'https://api.storage.vigdorov.ru', options: { headers: { 'Api-Name': 'store-service-test', @@ -22,7 +22,7 @@ export const API_OPTIONS = { }, }, [API_NAMES.DEVELOP]: { - url: 'http://localhost:4001', + url: 'https://localhost:4001', options: {}, }, }; @@ -34,7 +34,7 @@ export const ENDPOINTS = { HOOKS: '/hooks', }; -export const AUTH_SERVICE = 'http://api.auth.vigdorov.ru'; +export const AUTH_SERVICE = 'https://api.auth.vigdorov.ru'; export const AUTH_ENDPOINTS = { AUTH: '/auth', diff --git a/src/pages/users/api/UsersServiceAPI.js b/src/pages/users/api/UsersServiceAPI.js index f863c46..2878d3c 100644 --- a/src/pages/users/api/UsersServiceAPI.js +++ b/src/pages/users/api/UsersServiceAPI.js @@ -1,6 +1,6 @@ import http from '../../../api/HttpAPI'; -const ROOT_URL = 'http://api.auth.vigdorov.ru/users'; +const ROOT_URL = 'https://api.auth.vigdorov.ru/users'; /** * Объект с полями для создания пользователя