2019-04-07 11:25:50 -04:00

11 lines
257 B
JavaScript

const API_URL = '//app.example.com/api';
const API_VERSION = '2.0';
const BASE_URL = `${API_URL}/${API_VERSION}`;
exports.getURL = url => BASE_URL + url;
module.exports = {
appName: 'Some App Specific Mode',
otherAPI: exports.getURL('/something/')
};