Skip to content
Snippets Groups Projects
Commit 7c1b05e3 authored by michael.minelli's avatar michael.minelli
Browse files

HttpManager => Add API URLs

parent a95a3c7b
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,15 @@ import axios, { AxiosRequestHeaders } from 'axios';
import Config from '../Config/Config';
import SessionManager from './SessionManager';
import FormData from 'form-data';
import logger from '../shared/logging/WinstonLogger';
class HttpManager {
private readonly API_BASE_URL: string = Config.apiURL;
public readonly LOGIN_URL: string = `${ this.API_BASE_URL }/login`;
public readonly TEST_SESSION_URL: string = `${ this.API_BASE_URL }/test_session`;
private static _instance: HttpManager;
public static get instance(): HttpManager {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment