chore: simplify config #1090
@ -5,11 +5,9 @@
|
||||
"level": "trace"
|
||||
},
|
||||
"myAddress": "localhost",
|
||||
"hubAddress": "https://localhost/api/",
|
||||
"platformCDNs": ["https://localhost/"],
|
||||
"NRS": ["localhost"],
|
||||
"httpPort": 80,
|
||||
"httpsPort": 443,
|
||||
"NRS": ["localhost"],
|
||||
"administratorNames": [],
|
||||
"autoCreateAccount": true,
|
||||
"skipTutorial": true,
|
||||
|
@ -85,8 +85,8 @@ const createLoginResponse = (account: IDatabaseAccountJson, buildLabel: string):
|
||||
Nonce: account.Nonce,
|
||||
Groups: [],
|
||||
IRC: config.myIrcAddresses ?? [config.myAddress],
|
||||
platformCDNs: config.platformCDNs,
|
||||
HUB: config.hubAddress,
|
||||
platformCDNs: [`https://${config.myAddress}/`],
|
||||
HUB: `https://${config.myAddress}/api/`,
|
||||
NRS: config.NRS,
|
||||
DTLS: 99,
|
||||
BuildLabel: buildLabel,
|
||||
|
@ -33,8 +33,6 @@ interface IConfig {
|
||||
httpPort?: number;
|
||||
httpsPort?: number;
|
||||
myIrcAddresses?: string[];
|
||||
platformCDNs?: string[];
|
||||
hubAddress?: string;
|
||||
NRS?: string[];
|
||||
administratorNames?: string[] | string;
|
||||
autoCreateAccount?: boolean;
|
||||
|
Loading…
x
Reference in New Issue
Block a user