-
Notifications
You must be signed in to change notification settings - Fork 23
/
default-config.js
77 lines (76 loc) · 2.74 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
'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: {
// All these constants are exposed as is in the angular application.
// Therefore you should never put any sensitive information like
// passwords or secrets in here.
//
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://mywifi.test:8080/api/v1',
API_END_POINT_V2: 'http://dashboard.ctapp:3000/api/v1',
// API_END_POINT_V2: 'http://dashboard.ctapp:8000/api/v1',
// API_END_POINT_V2: 'https://ldn-01.ctapp.io/api/v1/',
API_URL: 'http://mywifi.test:8080',
STRIPE_KEY: 'pk_test_E3rGjKckx4EUL65pXgv6zUed',
AUTH_URL: 'http://id.mywifi.test:8080',
SLACK_TOKEN: '3540010629.12007999527',
CHIMP_TOKEN: '531543883634',
INTERCOM: 'z0kiwroa',
PUSHER: 'f5c774e098156e548079',
DEBUG: true,
// COLOURS: '#009688 #FF5722 #03A9F4 #607D8B #F44336 #00BCD4',
COLOURS: '#009688 #FF5722 #03A9F4 #607D8B #F44336 #00BCD4',
// COLOURS: '#16ac5b #118AB2 #EF476F #FFD166 #70C1B3 #073B4C',
COMMITHASH: commitHash.stdout,
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: {
// Required!
//APP_ID: 'put your app id here!',
// Required!
//APP_SECRET: 'put your app secret here!',
// Required!
//BASE_URL: 'https://url.of.your.server',
// Required!
// callbackURL: 'https://url.of.your.server/auth/login/callback',
// Debugging?
DEBUG: false,
}
}
};