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

14 lines
318 B
JavaScript

const API_URL = '//app.example.com/api';
const API_VERSION = '1.0';
const BASE_URL = `${API_URL}/${API_VERSION}`;
exports.getURL = url => BASE_URL + url;
module.exports = {
appName: 'Default App',
debug: false,
sessionName: 'session_id',
credential: 'same-origin',
exampleAPI: exports.getURL('/thing/')
};