-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.js
More file actions
36 lines (35 loc) · 841 Bytes
/
config.example.js
File metadata and controls
36 lines (35 loc) · 841 Bytes
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
const config = {
"production": {
"api": {
"version": "1.0",
"host": "api.polite.ai"
},
"behaviour":{
"roomIdSalt":"SALTHERE",
"listen":"8000"
},
"postgres": {
"host": "HOST",
"user": "USER",
"password": "PASSWORD",
"database": "DATABASE"
}
},
"development": {
"api": {
"version": "1.0",
"host": "api.polite.ai"
},
"behaviour":{
"roomIdSalt":"SALTHERE",
"listen":"8000"
},
"postgres": {
"host": "HOST",
"user": "USER",
"password": "PASSWORD",
"database": "DATABASE"
}
}
};
module.exports = config[process.env.NODE_ENV || 'development'];