mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-05 02:19:37 +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));
|
register(".*", new MapStorageRequestHandler(mapId, mapStorage));
|
||||||
|
|
||||||
if (livePlayersDataSupplier != null) {
|
if (livePlayersDataSupplier != null) {
|
||||||
register("live/players", "", new JsonDataRequestHandler(
|
register("live/players\\.json", "", new JsonDataRequestHandler(
|
||||||
new CachedRateLimitDataSupplier(livePlayersDataSupplier,1000)
|
new CachedRateLimitDataSupplier(livePlayersDataSupplier,1000)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (liveMarkerDataSupplier != null) {
|
if (liveMarkerDataSupplier != null) {
|
||||||
register("live/markers", "", new JsonDataRequestHandler(
|
register("live/markers\\.json", "", new JsonDataRequestHandler(
|
||||||
new CachedRateLimitDataSupplier(liveMarkerDataSupplier,10000)
|
new CachedRateLimitDataSupplier(liveMarkerDataSupplier,10000)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user