Files
PatataLauncher/patches/helios-core+2.2.1.patch
2024-09-15 10:42:32 +02:00

31 lines
1.8 KiB
Diff

diff --git a/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.d.ts b/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.d.ts
index 49f2b19..794b2f6 100644
--- a/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.d.ts
+++ b/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.d.ts
@@ -44,8 +44,8 @@ export interface UpptimeSummary {
export declare class MojangRestAPI {
private static readonly logger;
private static readonly TIMEOUT;
- static readonly AUTH_ENDPOINT = "https://authserver.mojang.com";
- static readonly STATUS_ENDPOINT = "https://raw.githubusercontent.com/AventiumSoftworks/helios-status-page/master/history/summary.json";
+ static readonly AUTH_ENDPOINT = "https://auth.oier.ovh/api/yggdrasil/authserver";
+ static readonly STATUS_ENDPOINT = "https:/patatapack.oier.ovh/status.json";
private static authClient;
private static statusClient;
static readonly MINECRAFT_AGENT: Agent;
diff --git a/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js b/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js
index 3fbc718..3f2009c 100644
--- a/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js
+++ b/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js
@@ -38,8 +38,8 @@ var MojangStatusColor;
class MojangRestAPI {
static logger = LoggerUtil_1.LoggerUtil.getLogger('Mojang');
static TIMEOUT = 2500;
- static AUTH_ENDPOINT = 'https://authserver.mojang.com';
- static STATUS_ENDPOINT = 'https://raw.githubusercontent.com/AventiumSoftworks/helios-status-page/master/history/summary.json';
+ static AUTH_ENDPOINT = 'https://auth.oier.ovh/api/yggdrasil/authserver';
+ static STATUS_ENDPOINT = 'https:/patatapack.oier.ovh/status.json';
static authClient = got_1.default.extend({
prefixUrl: MojangRestAPI.AUTH_ENDPOINT,
responseType: 'json',