2015-06-05 11:06:36 +02:00
|
|
|
'use strict';
|
|
|
|
|
2015-05-19 17:16:01 +02:00
|
|
|
let constants = {
|
2015-05-29 11:45:10 +02:00
|
|
|
//'baseUrl': 'http://localhost:8000/api/',
|
2015-06-09 17:53:44 +02:00
|
|
|
|
|
|
|
//FIXME: referring to a global variable in `window` is not
|
2015-07-14 16:53:27 +02:00
|
|
|
// super pro. What if we render stuff on the server?
|
|
|
|
// - super-bro - Senor Developer, 14th July 2015
|
2015-06-11 15:57:19 +02:00
|
|
|
//'baseUrl': window.BASE_URL,
|
2015-06-10 17:28:36 +02:00
|
|
|
'apiEndpoint': window.API_ENDPOINT,
|
2015-06-19 13:13:37 +02:00
|
|
|
'serverUrl': window.SERVER_URL,
|
2015-06-11 17:07:27 +02:00
|
|
|
'baseUrl': window.BASE_URL,
|
2015-08-05 16:02:48 +02:00
|
|
|
'aclList': ['acl_coa', 'acl_consign', 'acl_delete', 'acl_download', 'acl_edit', 'acl_create_editions', 'acl_view_editions',
|
2015-07-14 20:06:13 +02:00
|
|
|
'acl_loan', 'acl_share', 'acl_transfer', 'acl_unconsign', 'acl_unshare', 'acl_view',
|
2015-08-17 20:52:36 +02:00
|
|
|
'acl_withdraw_transfer', 'acl_submit'],
|
2015-07-13 14:29:20 +02:00
|
|
|
|
2015-07-17 15:41:09 +02:00
|
|
|
'version': 0.1,
|
2015-07-16 19:16:26 +02:00
|
|
|
'csrftoken': 'csrftoken2',
|
2015-07-14 16:53:27 +02:00
|
|
|
'subdomains': [
|
|
|
|
{
|
2015-07-14 17:12:32 +02:00
|
|
|
'subdomain': 'cc',
|
|
|
|
'name': 'Creative Commons France',
|
|
|
|
'logo': 'https://s3-us-west-2.amazonaws.com/ascribe0/public/creativecommons/cc.logo.sm.png',
|
2015-07-14 17:41:57 +02:00
|
|
|
'permissions': ['register', 'edit', 'share', 'del_from_collection'],
|
2015-07-27 18:06:02 +02:00
|
|
|
'type': 'wallet',
|
|
|
|
'ga': 'UA-60614729-4'
|
2015-07-14 16:53:27 +02:00
|
|
|
},
|
2015-07-14 17:12:32 +02:00
|
|
|
{
|
|
|
|
'subdomain': 'sluice',
|
|
|
|
'name': 'Sluice Art Fair',
|
2015-07-14 17:41:57 +02:00
|
|
|
'logo': 'http://sluice.info/images/logo.gif',
|
|
|
|
'permissions': ['register', 'edit', 'share', 'del_from_collection'],
|
2015-07-27 18:06:02 +02:00
|
|
|
'type': 'prize',
|
|
|
|
'ga': 'UA-60614729-5'
|
2015-07-14 16:53:27 +02:00
|
|
|
},
|
2015-07-29 15:57:48 +02:00
|
|
|
{
|
|
|
|
'subdomain': 'cyland',
|
2015-07-29 16:08:30 +02:00
|
|
|
'name': 'Cyland media art lab',
|
|
|
|
'logo': 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/cyland/logo.gif',
|
2015-07-29 15:57:48 +02:00
|
|
|
'permissions': ['register', 'edit', 'share', 'del_from_collection'],
|
2015-08-11 13:10:15 +02:00
|
|
|
'type': 'wallet'
|
2015-08-18 12:08:01 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'subdomain': 'ikonotv',
|
|
|
|
'name': 'IkonoTV',
|
|
|
|
'logo': 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ikono-logo-black.png',
|
|
|
|
'permissions': ['register', 'edit', 'share', 'del_from_collection'],
|
|
|
|
'type': 'wallet'
|
2015-07-14 16:53:27 +02:00
|
|
|
}
|
|
|
|
],
|
2015-07-27 18:06:02 +02:00
|
|
|
'defaultDomain': {
|
|
|
|
'type': 'default',
|
|
|
|
'ga': 'UA-60614729-2'
|
|
|
|
},
|
2015-07-14 16:53:27 +02:00
|
|
|
|
|
|
|
// in case of whitelabel customization, we store stuff here
|
2015-07-17 15:41:09 +02:00
|
|
|
'whitelabel': {},
|
|
|
|
'raven': {
|
|
|
|
'url': 'https://0955da3388c64ab29bd32c2a429f9ef4@app.getsentry.com/48351'
|
|
|
|
}
|
2015-05-19 13:45:19 +02:00
|
|
|
};
|
|
|
|
|
2015-07-14 20:06:13 +02:00
|
|
|
export default constants;
|