mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-04-25 16:19:58 -05:00
Loosen types on some configuration options
None of these need to be strictly typed to the exact string they're initalized to - being typed to just `string` is enough.
This commit is contained in:
parent
a2c7b52b18
commit
91c5811fe0
|
|
@ -25,13 +25,16 @@ exports.routes = {
|
|||
root: "pokemonshowdown.com",
|
||||
};
|
||||
|
||||
/** @type {string} */
|
||||
exports.mainserver = 'showdown';
|
||||
/** @type {string} */
|
||||
exports.serverlist = '/var/www/html/play.pokemonshowdown.com/config/servers.inc.php';
|
||||
|
||||
/** @type {string | null} Password, whether to debug error stacks in request or not*/
|
||||
exports.devmode = null;
|
||||
|
||||
// absolute path to your PS instance. can use the checked-out client that the client clones in.
|
||||
/** @type {string} */
|
||||
exports.pspath = '/var/www/html/play.pokemonshowdown.com/data/pokemon-showdown';
|
||||
|
||||
/**
|
||||
|
|
@ -128,4 +131,4 @@ exports.restartip = null;
|
|||
* Custom actions for your loginserver.
|
||||
* @type {{[k: string]: import('../src/dispatcher').QueryHandler} | null}
|
||||
*/
|
||||
exports.actions = null;
|
||||
exports.actions = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user