web: Turned on Real Api

This commit is contained in:
Alexey Safronov 2019-06-03 11:15:42 +03:00
parent 4941f730fa
commit e12777b4d5

View File

@ -7,7 +7,7 @@ const PREFIX = 'api';
const VERSION = '2.0';
const API_URL = `${BASE_URL}:${PORT}/${PREFIX}/${VERSION}`;
const IS_FAKE = true;
const IS_FAKE = false;
export function login(data) {
return axios.post(`${API_URL}/authentication`, data);