diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-06-13 14:32:14 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:09:19 +0100 |
| commit | d1e48e8fdfbbd348f94c270cd7e635308fec55db (patch) | |
| tree | 35e1aafec7bb6d4519b988b110ab195cfadc4566 /backend/config.js | |
| parent | aaaa0901078567bfa3ba565b2a2fa28e8c83f23f (diff) | |
| download | brokentalents-d1e48e8fdfbbd348f94c270cd7e635308fec55db.tar.gz brokentalents-d1e48e8fdfbbd348f94c270cd7e635308fec55db.zip | |
Switch backend to 3.4
Diffstat (limited to 'backend/config.js')
| -rw-r--r-- | backend/config.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/config.js b/backend/config.js index 86deed6..172cf80 100644 --- a/backend/config.js +++ b/backend/config.js @@ -5,6 +5,7 @@ const crypto = require('crypto'); const sha256 = (x) => crypto.createHash('sha256').update(x, 'utf8').digest('hex'); const hashSettings = (config) => sha256( + config.api.patchVersion + config.api.regions + config.api.modes + config.api.requestsPerInterval + @@ -16,6 +17,10 @@ module.exports = { api: { baseUrl: 'https://api.dc01.gamelockerapp.com', timeout: 3, + /* available: 3.1, 3.2, 3.3, … */ + patchVersion: '3.4', + /* moment js parsable string */ + startDate: '2018-06-13 16Z', /* available: eu, na, sg, cn, sa, ea */ regions: ['sg', 'eu', 'na'], /* available: casual, 5v5_pvp_casual, ranked, 5v5_pvp_ranked, blitz_pvp_ranked, casual_aral */ |
