This repository was archived by the owner on Jul 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.js
More file actions
52 lines (42 loc) · 1.34 KB
/
Copy pathsettings.js
File metadata and controls
52 lines (42 loc) · 1.34 KB
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
module.exports = function () {
var settings = {
db: process.env.MONGODB_URL,
domain: 'https://standing-fleet.apps.goonswarm.org/',
port: process.env.PORT || 5000,
session_name: 'standing-fleet',
session_secret: process.env.SESSION_SECRET || 'buttes',
log: 'console',
advisoryTtl: 3600,
eventTtl: 300,
scanTtl: 86400,
reportTtl: 86400,
hostileFadeTtl: 600,
hostileRemoveTtl: 1200,
memberTtl: 600,
sessionTtl: 86400,
fleets: [
{name: 'The Imperium', description: 'Annuit cœptis Ave Imperium'}
],
minPollInterval: 0,
cleanInterval: 60000,
requestSizeLimit: '80kb',
fleetPasswordMinLength: 3,
fleetPasswordMaxLength: 32,
scanMaxShips: 100,
scanMinShips: 1,
whitelist: { url: 'https://standings.goonfleet.com', threshold: 0.1, alliances: ['1354830081'], corporations: [] },
clearance: [
'[SIG] GARPA',
'[SIG] Directors',
'[SIG] GSF Ops',
'[SIG] The War Room',
'[SIG] Recon',
'[SIG-L] Reavers',
'[A] Directors of Finance'
]
};
settings.root = require('path').normalize(__dirname + '/..');
settings.ships = require(__dirname + '/../../public/data/ships.json');
settings.map = require(__dirname + '/../../public/data/map.json');
return settings;
}();