mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
Use environment variables for endpoint URLs
This commit is contained in:
parent
41690f84c7
commit
0e2a23ccbb
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user