From 0e2a23ccbbb52c367cfa12e779f583a9d6653563 Mon Sep 17 00:00:00 2001 From: Azures <136436488+azures04@users.noreply.github.com> Date: Mon, 8 Dec 2025 21:05:09 +0100 Subject: [PATCH] Use environment variables for endpoint URLs --- config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 964b2d3..8bfb35c 100644 --- a/config.js +++ b/config.js @@ -61,9 +61,9 @@ var config = { top_right: process.env.SPONSOR_TOP_RIGHT }, endpoints: { - textures_url: "https://textures.minecraft.net/texture/", - session_url: "https://sessionserver.mojang.com/session/minecraft/profile/" + textures_url: process.env.TEXTURES_ENDPOINT || "https://textures.minecraft.net/texture/", + session_url: process.env.SESSION_ENDPOINT || "https://sessionserver.mojang.com/session/minecraft/profile/" } }; -module.exports = config; \ No newline at end of file +module.exports = config;