diff --git a/src/Private/RequestHandler.ts b/src/Private/RequestHandler.ts index c7d991bd..66d1f831 100644 --- a/src/Private/RequestHandler.ts +++ b/src/Private/RequestHandler.ts @@ -1,4 +1,4 @@ -const BASE_URL = 'http://localhost:3000/hypixel'; +const BASE_URL = 'https://api.hypixel.net/v2'; import Client from '../Client.js'; import RequestData from './RequestData.js'; import isUUID from '../utils/isUUID.js'; @@ -72,7 +72,7 @@ class RequestHandler { if (!input) throw new Error(this.client.errors.NO_NICKNAME_UUID); if ('string' !== typeof input) throw new Error(this.client.errors.UUID_NICKNAME_MUST_BE_A_STRING); if (isUUID(input)) return input.replace(/-/g, ''); - const url = `http://localhost:3000/uuid/${input}`; + const url = `https://mowojang.matdoes.dev/${input}`; if (this.client.cacheHandler.has(url)) { return this.client.cacheHandler.get(url); }