v1
This commit is contained in:
26
patches/helios-core+2.2.1.patch
Normal file
26
patches/helios-core+2.2.1.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
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..cf661ce 100644
|
||||
--- a/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.d.ts
|
||||
+++ b/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.d.ts
|
||||
@@ -44,7 +44,7 @@ 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 AUTH_ENDPOINT = "https://auth.oier.ovh/api/yggdrasil/authserver";
|
||||
static readonly STATUS_ENDPOINT = "https://raw.githubusercontent.com/AventiumSoftworks/helios-status-page/master/history/summary.json";
|
||||
private static authClient;
|
||||
private static statusClient;
|
||||
diff --git a/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js b/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js
|
||||
index 3fbc718..ba38f57 100644
|
||||
--- a/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js
|
||||
+++ b/node_modules/helios-core/dist/mojang/rest/MojangRestAPI.js
|
||||
@@ -38,7 +38,7 @@ var MojangStatusColor;
|
||||
class MojangRestAPI {
|
||||
static logger = LoggerUtil_1.LoggerUtil.getLogger('Mojang');
|
||||
static TIMEOUT = 2500;
|
||||
- static AUTH_ENDPOINT = 'https://authserver.mojang.com';
|
||||
+ static AUTH_ENDPOINT = 'https://auth.oier.ovh/api/yggdrasil/authserver';
|
||||
static STATUS_ENDPOINT = 'https://raw.githubusercontent.com/AventiumSoftworks/helios-status-page/master/history/summary.json';
|
||||
static authClient = got_1.default.extend({
|
||||
prefixUrl: MojangRestAPI.AUTH_ENDPOINT,
|
||||
Reference in New Issue
Block a user