mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
Use environment variables for endpoint URLs
This commit is contained in:
@@ -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;
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user