From 2e7451e906c5f2610504836951f47461b0602fd5 Mon Sep 17 00:00:00 2001 From: vigdorov Date: Sat, 24 Oct 2020 10:41:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=BF=D0=B8=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=B5=D1=81=D0=B5=D0=BD=D1=8B=20=D0=BD=D0=B0=20https=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=82=D0=BE=D0=BA=D0=BE=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ProfileServiceAPI.js | 2 +- src/api/consts.js | 8 ++++---- src/pages/users/api/UsersServiceAPI.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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'; /** * Объект с полями для создания пользователя