chore: remove NRS config (#2732)
Reviewed-on: #2732 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
d4c477769a
commit
9a5c2ab4a4
@ -7,7 +7,6 @@
|
|||||||
"myAddress": "localhost",
|
"myAddress": "localhost",
|
||||||
"httpPort": 80,
|
"httpPort": 80,
|
||||||
"httpsPort": 443,
|
"httpsPort": 443,
|
||||||
"NRS": ["localhost"],
|
|
||||||
"administratorNames": [],
|
"administratorNames": [],
|
||||||
"autoCreateAccount": true,
|
"autoCreateAccount": true,
|
||||||
"skipTutorial": false,
|
"skipTutorial": false,
|
||||||
|
|||||||
@ -109,7 +109,7 @@ const createLoginResponse = (
|
|||||||
BuildLabel: buildLabel
|
BuildLabel: buildLabel
|
||||||
};
|
};
|
||||||
if (version_compare(buildLabel, "2015.02.13.10.41") >= 0) {
|
if (version_compare(buildLabel, "2015.02.13.10.41") >= 0) {
|
||||||
resp.NRS = config.NRS;
|
resp.NRS = [myAddress];
|
||||||
}
|
}
|
||||||
if (version_compare(buildLabel, "2015.05.14.16.29") >= 0) {
|
if (version_compare(buildLabel, "2015.05.14.16.29") >= 0) {
|
||||||
// U17 and up
|
// U17 and up
|
||||||
|
|||||||
@ -14,7 +14,6 @@ export interface IConfig {
|
|||||||
httpPort?: number;
|
httpPort?: number;
|
||||||
httpsPort?: number;
|
httpsPort?: number;
|
||||||
myIrcAddresses?: string[];
|
myIrcAddresses?: string[];
|
||||||
NRS?: string[];
|
|
||||||
administratorNames?: string[];
|
administratorNames?: string[];
|
||||||
autoCreateAccount?: boolean;
|
autoCreateAccount?: boolean;
|
||||||
skipTutorial?: boolean;
|
skipTutorial?: boolean;
|
||||||
@ -86,6 +85,7 @@ export interface IConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const configRemovedOptionsKeys = [
|
export const configRemovedOptionsKeys = [
|
||||||
|
"NRS",
|
||||||
"skipAllDialogue",
|
"skipAllDialogue",
|
||||||
"infiniteCredits",
|
"infiniteCredits",
|
||||||
"infinitePlatinum",
|
"infinitePlatinum",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user