Апи перенесены на https протокол

This commit is contained in:
2020-10-24 10:41:30 +03:00
parent e8d1adae98
commit 2e7451e906
3 changed files with 6 additions and 6 deletions

View File

@ -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 () => {

View File

@ -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',

View File

@ -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';
/**
* Объект с полями для создания пользователя