Guest User

Untitled

a guest
Dec 13th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. export const PROTOCOL: string = 'http';
  2. export const HOST: string = 'localhost';
  3. export const PORT: number | string = 3001;
  4. export const VERSION: number | string = 1;
  5.  
  6. import { HOST, PORT, PROTOCOL, VERSION } from '../config/api';
  7.  
  8. /* uncovered statement */
  9. this.baseURL = baseURL || `${PROTOCOL}://${HOST}:${PORT}/api/v${VERSION}`;
Add Comment
Please, Sign In to add comment