-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
73 lines (66 loc) · 1.61 KB
/
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
var fs = require('fs')
var config = {
server: {
port: 80,
useHttps: false,
https: {
keyPath: '',
certPath: ''
},
appDirectory: __dirname,
publicDirectory: 'public',
routesDirectory: 'routes',
miscDirectory: 'misc',
logDirectory: 'logs',
index: 'index.html',
schedule: 'schedule.html',
resume: 'doc/Resume - Eric Wadkins - Fall 2019.pdf',
thesis: 'doc/MEng_Thesis_FINAL.pdf',
p1: 'doc/Computer_Vision_Tools_NV_Centers.pdf',
p2: 'doc/Utility_Programs_NV_Centers.pdf',
p3: 'doc/Smart_Microscopy.pdf',
signature: 'img/signature_transparent.png',
dashboard: 'dashboard/index.html',
collage: 'dashboard/collage/index.html',
gas: 'dashboard/gas/index.html',
map: 'map.html',
analytics: 'analytics.html',
},
db: {
hostname: 'ds059165.mongolab.com',
port: 59165,
mainDb: 'heroku_h5zdpd40',
useSSL: false,
required: true,
authenticate: true,
authentication: {
username: 'admin',
password: 'd0gd4ys'
},
collections: {
users: 'users',
active: 'active',
pending: 'pending',
inactive: 'inactive',
oauthAccessTokens: 'oauthAccessTokens'
}
},
remindDelayHours: 24,
appClientId: 'app',
appClientSecret: 'd0gd4ys',
array: array,
object: object
}
function array(contents) {
return {
type: 'array',
contents: contents
}
}
function object(contents) {
return {
type: 'object',
contents: contents
}
}
module.exports = config;