forked from mimolabs/mimo-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault-config.js
61 lines (60 loc) · 1.92 KB
/
default-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
'use strict';
// Important! This configuration file is currently only used in the
// development. It is ignored for test, beta, and production!
var exec = require('sync-exec');
var commitHash = exec('git log --pretty=format:"%h" -n 1');
var commitDate = exec('git log --pretty=format:"%ci" -n 1');
module.exports = {
frontend: {
constants: {
CONFIG: {
// Everything here is injected as $rootScope.CONFIG into
// the application.
},
// FIXME! These constants are outside of 'CONFIG' for historical
// reasons. They should be moved inside 'CONFIG' at some time.
API_END_POINT: 'http://mimo.test:8080/api/v1',
API_END_POINT_V2: 'http://dashboard.ctapp:3000/api/v1',
API_URL: 'http://mimo.test:8080',
STRIPE_KEY: 'pk_test_E3rGjKckx4EUL65pXgv6zUed',
AUTH_URL: 'http://id.mimo.test:8080',
SLACK_TOKEN: '3540010629.12007999527',
CHIMP_TOKEN: '531543883634',
INTERCOM: '',
PUSHER: 'f5c774e098156e548079',
DEBUG: true,
COLOURS: '#009688 #FF5722 #03A9F4 #607D8B #F44336 #00BCD4',
COMMITHASH: commitHash.stdout,
AMPLITUDE: '',
THEMES: [
"pink",
"orange",
"deep-orange",
"blue",
"blue-grey",
"light-blue",
"red",
"green",
"light-green",
"lime",
"yellow",
"teal",
"brown",
"purple",
"deep-purple",
"cyan",
"yellow",
"amber",
"indigo",
"brown",
"grey"
]
}
},
// Server configuration.
server: {
env: {
DEBUG: false,
}
}
};