mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
Custom endpoints
- minor change to customise textures & session server host for custom yggdrasil server
This commit is contained in:
@@ -5,8 +5,8 @@ var skins = require("./skins");
|
||||
var http = require("http");
|
||||
require("./object-patch");
|
||||
|
||||
var session_url = "https://sessionserver.mojang.com/session/minecraft/profile/";
|
||||
var textures_url = "https://textures.minecraft.net/texture/";
|
||||
var session_url = config.endpoints.session_url;
|
||||
var textures_url = config.endpoints.textures_url;
|
||||
|
||||
// count requests made to session_url in the last 1000ms
|
||||
var session_requests = [];
|
||||
|
||||
Reference in New Issue
Block a user