forked from GDColon/GDBrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
21 lines (16 loc) · 958 Bytes
/
settings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This used to be a place for GDPS settings but that has all been moved over to servers.json
// Feel free to enable/disable stuff here for smoother local use, free of rate limits
module.exports = {
port: 2000, // Port to host website on
params: { // Always send this stuff to the servers
secret: 'Wmfd2893gb7',
gameVersion: '21',
binaryVersion: '35',
gdbrowser: '1'
},
rateLimiting: true, // Enables rate limiting to avoid api spam, feel free to disable for private use.
ipForwarding: true, // Forwards 'x-real-ip' to the servers. (requested by robtop)
cacheMapPacks: true, // Caches map packs to speed up loading. Useful if they're rarely updated.
cacheAccountIDs: true, // Caches account IDs in order to shave off an extra request to the servers.
cachePlayerIcons: true, // Caches player icons to speed up loading. Changing your icon in-game may take time to update on the site.
}