返回提交历史
Modified
config-vanilla.json
+0
-1
Modified
src/controllers/api/loginController.ts
+1
-1
Modified
src/services/configService.ts
+1
-1
XFEstudio/SpaceNinjaServer
chore: remove NRS config (#2732)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2732 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
9a5c2ab4
代码差异
3 个文件
+2
-3
@@ -7,7 +7,6 @@
7
7
"myAddress": "localhost",
8
8
"httpPort": 80,
9
9
"httpsPort": 443,
10
"NRS": ["localhost"],
11
10
"administratorNames": [],
12
11
"autoCreateAccount": true,
13
12
"skipTutorial": false,
@@ -109,7 +109,7 @@ const createLoginResponse = (
109
109
BuildLabel: buildLabel
110
110
};
111
111
if (version_compare(buildLabel, "2015.02.13.10.41") >= 0) {
112
resp.NRS = config.NRS;
112
resp.NRS = [myAddress];
113
113
}
114
114
if (version_compare(buildLabel, "2015.05.14.16.29") >= 0) {
115
115
// U17 and up
@@ -14,7 +14,6 @@ export interface IConfig {
14
14
httpPort?: number;
15
15
httpsPort?: number;
16
16
myIrcAddresses?: string[];
17
NRS?: string[];
18
17
administratorNames?: string[];
19
18
autoCreateAccount?: boolean;
20
19
skipTutorial?: boolean;
@@ -86,6 +85,7 @@ export interface IConfig {
86
85
}
87
86
88
87
export const configRemovedOptionsKeys = [
88
"NRS",
89
89
"skipAllDialogue",
90
90
"infiniteCredits",
91
91
"infinitePlatinum",