improve: add myAddress config for NRS and IRC pointers
This commit is contained in:
parent
3b88a667a9
commit
61dbdba7fd
@ -1,4 +1,5 @@
|
||||
{
|
||||
"myAddress": "localhost",
|
||||
"autoCreateAccount": true,
|
||||
"buildLabel": "2024.05.03.11.35/g98E42og3EdWxS0UueO+PQ",
|
||||
"matchmakingBuildId": "6945333874579955227",
|
||||
|
@ -7,7 +7,7 @@ import { toLoginRequest } from "@/src/helpers/loginHelpers";
|
||||
import { Account } from "@/src/models/loginModel";
|
||||
import { createAccount, isCorrectPassword } from "@/src/services/loginService";
|
||||
import { ILoginResponse } from "@/src/types/loginTypes";
|
||||
import { DTLS, groups, HUB, IRC, Nonce, NRS, platformCDNs } from "@/static/fixed_responses/login_static";
|
||||
import { DTLS, groups, HUB, Nonce, platformCDNs } from "@/static/fixed_responses/login_static";
|
||||
import { logger } from "@/src/utils/logger";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
||||
@ -39,9 +39,9 @@ const loginController: RequestHandler = async (request, response) => {
|
||||
Groups: groups,
|
||||
platformCDNs: platformCDNs,
|
||||
Nonce: Nonce,
|
||||
NRS: NRS,
|
||||
NRS: [config.myAddress],
|
||||
DTLS: DTLS,
|
||||
IRC: IRC,
|
||||
IRC: [config.myAddress],
|
||||
HUB: HUB,
|
||||
BuildLabel: config.buildLabel,
|
||||
MatchmakingBuildId: config.matchmakingBuildId
|
||||
@ -68,9 +68,9 @@ const loginController: RequestHandler = async (request, response) => {
|
||||
Groups: groups,
|
||||
platformCDNs: platformCDNs,
|
||||
Nonce: Nonce,
|
||||
NRS: NRS,
|
||||
NRS: [config.myAddress],
|
||||
DTLS: DTLS,
|
||||
IRC: IRC,
|
||||
IRC: [config.myAddress],
|
||||
HUB: HUB,
|
||||
BuildLabel: config.buildLabel,
|
||||
MatchmakingBuildId: config.matchmakingBuildId
|
||||
|
@ -24,10 +24,6 @@ export const platformCDNs = [
|
||||
|
||||
export const Nonce = 1231231233;
|
||||
|
||||
export const NRS = ["localhost"];
|
||||
|
||||
export const DTLS = 99;
|
||||
|
||||
export const IRC = ["localhost"];
|
||||
|
||||
export const HUB = "https://arbiter.warframe.com/api/";
|
||||
|
Loading…
x
Reference in New Issue
Block a user