-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
71 lines (59 loc) · 1.4 KB
/
settings.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
var config = {
// Server
host: '', // Not required
port: process.env.PORT || 5000,
// Registration
disable_registration: false,
// HTTPS
/***
https: {
port: 8000, // Regular port will redirect to this
key: 'key.pem',
cert: 'certificate.pem'
},
***/
// Database
db_host: 'localhost',
db_port: 27017,
db_name: 'letschatbro',
db_user: '',
db_password: '',
// Overrides the above settings (helpful for heroku)
// db_url: process.env.DATABASE_URL,
// Security
// Please change these!
cookie_secret: 'KeyBoard Cat',
password_salt: 'Hello. Yes, This is Dog',
// Misc
debug: false,
media_url: '/media',
uploads_dir: 'uploads',
plugins_dir: 'plugins',
// Plugins
plugins: {
'emotes': {
file: 'emotes.js', // You should use file.local.js
url: 'emotes.json'
},
'replacements': {
file: 'replacements.js',
url: 'replacements.json'
}
},
// Allowed file types
allowed_file_types: [
'image/jpeg',
'image/png',
'image/gif',
],
// s3 credentials
/***
s3: {
accessKeyId: '',
secretAccessKey: '',
region: '',
bucket: ''
},
***/
};
module.exports = config;