forked from ExactTarget/SubscriberSearch-nod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-config.js
executable file
·20 lines (19 loc) · 884 Bytes
/
app-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
exports.settings = {
'port' : 3000
, 'uri' : '//localhost:3000' //Without trailing slash
, 'apiKeys' : {
// LocalNodeDemo App
localNodeApp: {
'clientId' : 'vk4qz7etaup664a368phjbwd'
, 'clientSecret' : 'PkJMUaHc6UEmAxz8dSY2xGF5'
, 'appSignature' : 'c3mf4cumzrxuvjp2z43gzrt4jpgccu5kwdxe2jmyz2gd4ki5sahk2nsmu0dgbphqlslnhyapeov3l4gtf2mn55nlldtvwb5cnvwi024koz1cq0qeig2w0gcvogygyefzqn2pkkk4gfe0lhgkzh0i2cxcgpk4vnensd4ht0ys0ke1au0plzntnwyauotuksgyy5u4fqknfkjonloval1vlnnizfmu5mnuopubfyh50bmza3g0jyeumxoffzgojrc'
}
}
, 'debug' : ( process.env.NODE_ENV !== 'production' || process.env['DEBUG'] )
? true
: false
};
if( process.env.NODE_ENV == 'production' ) {
settings.uri = '[productionAppEndpointHere]';
settings.port = process.env.PORT || 80;
}