mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-03-21 17:34:38 -05:00
Ensure everything in Config has a type
This commit is contained in:
parent
91c5811fe0
commit
a12b1eeb1b
|
|
@ -18,9 +18,11 @@ exports.gapi_clientid = '';
|
|||
exports.bannedTerms = [];
|
||||
|
||||
// To use for password hashing.
|
||||
/** @type {number} */
|
||||
exports.passwordSalt = 10;
|
||||
|
||||
// routes
|
||||
// routes - todo stricter key types?
|
||||
/** @type {Record<string, string>} */
|
||||
exports.routes = {
|
||||
root: "pokemonshowdown.com",
|
||||
};
|
||||
|
|
@ -73,8 +75,10 @@ exports.cors = [
|
|||
exports.sysops = [];
|
||||
|
||||
// Private key to use for validating assertions.
|
||||
/** @type {string} */
|
||||
exports.privatekey = '';
|
||||
// current active challengekeyid (backwards compatibility)
|
||||
/** @type {number} */
|
||||
exports.challengekeyid = 4;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user