chore: remove NRS config (#2732)
Some checks failed
Build Docker image / docker-arm64 (push) Waiting to run
Build / build (push) Has been cancelled
Build Docker image / docker-amd64 (push) Has been cancelled

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:
Sainan 2025-08-31 18:49:48 -07:00 committed by Sainan
parent d4c477769a
commit 9a5c2ab4a4
3 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@
"myAddress": "localhost",
"httpPort": 80,
"httpsPort": 443,
"NRS": ["localhost"],
"administratorNames": [],
"autoCreateAccount": true,
"skipTutorial": false,

View File

@ -109,7 +109,7 @@ const createLoginResponse = (
BuildLabel: buildLabel
};
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) {
// U17 and up

View File

@ -14,7 +14,6 @@ export interface IConfig {
httpPort?: number;
httpsPort?: number;
myIrcAddresses?: string[];
NRS?: string[];
administratorNames?: string[];
autoCreateAccount?: boolean;
skipTutorial?: boolean;
@ -86,6 +85,7 @@ export interface IConfig {
}
export const configRemovedOptionsKeys = [
"NRS",
"skipAllDialogue",
"infiniteCredits",
"infinitePlatinum",