mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-01-23 08:41:20 +01:00
Fix live-interface paths
This commit is contained in:
parent
6d53bce0dd
commit
2a94b0faab
@ -31,13 +31,13 @@ public MapRequestHandler(String mapId, Storage mapStorage,
|
||||
register(".*", new MapStorageRequestHandler(mapId, mapStorage));
|
||||
|
||||
if (livePlayersDataSupplier != null) {
|
||||
register("live/players", "", new JsonDataRequestHandler(
|
||||
register("live/players\\.json", "", new JsonDataRequestHandler(
|
||||
new CachedRateLimitDataSupplier(livePlayersDataSupplier,1000)
|
||||
));
|
||||
}
|
||||
|
||||
if (liveMarkerDataSupplier != null) {
|
||||
register("live/markers", "", new JsonDataRequestHandler(
|
||||
register("live/markers\\.json", "", new JsonDataRequestHandler(
|
||||
new CachedRateLimitDataSupplier(liveMarkerDataSupplier,10000)
|
||||
));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user