1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 16:48:04 +02:00
onion/js/constants/application_constants.js

17 lines
678 B
JavaScript
Raw Normal View History

'use strict';
2015-05-19 17:16:01 +02:00
let constants = {
//'baseUrl': 'http://localhost:8000/api/',
2015-06-09 17:53:44 +02:00
//FIXME: referring to a global variable in `window` is not
// super pro. What if we render stuff on the server?
'baseUrl': window.BASE_URL,
2015-06-10 17:28:36 +02:00
'apiEndpoint': window.API_ENDPOINT,
2015-06-09 13:29:22 +02:00
//'baseUrl': 'http://staging.ascribe.io/api/',
2015-05-27 14:35:33 +02:00
'debugCredentialBase64': 'ZGltaUBtYWlsaW5hdG9yLmNvbTowMDAwMDAwMDAw', // dimi@mailinator:0000000000
'aclList': ['edit', 'consign', 'consign_request', 'unconsign', 'unconsign_request', 'transfer',
'loan', 'loan_request', 'share', 'download', 'view', 'delete', 'del_from_collection', 'add_to_collection']
};
2015-06-01 14:22:04 +02:00
export default constants;