chore: cleanup config #979
@ -84,11 +84,11 @@ const createLoginResponse = (account: IDatabaseAccountJson, buildLabel: string):
 | 
				
			|||||||
        TrackedSettings: account.TrackedSettings,
 | 
					        TrackedSettings: account.TrackedSettings,
 | 
				
			||||||
        Nonce: account.Nonce,
 | 
					        Nonce: account.Nonce,
 | 
				
			||||||
        Groups: [],
 | 
					        Groups: [],
 | 
				
			||||||
 | 
					        IRC: config.myIrcAddresses ?? [config.myAddress],
 | 
				
			||||||
        platformCDNs: config.platformCDNs,
 | 
					        platformCDNs: config.platformCDNs,
 | 
				
			||||||
        HUB: config.hubAddress,
 | 
					        HUB: config.hubAddress,
 | 
				
			||||||
        NRS: config.NRS,
 | 
					        NRS: config.NRS,
 | 
				
			||||||
        DTLS: 99,
 | 
					        DTLS: 99,
 | 
				
			||||||
        IRC: config.myIrcAddresses ?? [config.myAddress],
 | 
					 | 
				
			||||||
        BuildLabel: buildLabel,
 | 
					        BuildLabel: buildLabel,
 | 
				
			||||||
        MatchmakingBuildId: buildConfig.matchmakingBuildId
 | 
					        MatchmakingBuildId: buildConfig.matchmakingBuildId
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
				
			|||||||
@ -33,8 +33,8 @@ interface IConfig {
 | 
				
			|||||||
    httpPort?: number;
 | 
					    httpPort?: number;
 | 
				
			||||||
    httpsPort?: number;
 | 
					    httpsPort?: number;
 | 
				
			||||||
    myIrcAddresses?: string[];
 | 
					    myIrcAddresses?: string[];
 | 
				
			||||||
    hubAddress: string;
 | 
					 | 
				
			||||||
    platformCDNs: string[];
 | 
					    platformCDNs: string[];
 | 
				
			||||||
 | 
					    hubAddress: string;
 | 
				
			||||||
    NRS: string[];
 | 
					    NRS: string[];
 | 
				
			||||||
    administratorNames?: string[] | string;
 | 
					    administratorNames?: string[] | string;
 | 
				
			||||||
    autoCreateAccount?: boolean;
 | 
					    autoCreateAccount?: boolean;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user