Add /api/v1/mining/hashrate/* apis to the cache warmer

This commit is contained in:
nymkappa 2022-02-21 18:01:09 +09:00
parent 150b137f0c
commit e6c0a7e367

View File

@ -21,6 +21,12 @@ do for url in / \
'/api/v1/mining/pools/2y' \
'/api/v1/mining/pools/3y' \
'/api/v1/mining/pools/all' \
'/api/v1/mining/hashrate/3m' \
'/api/v1/mining/hashrate/6m' \
'/api/v1/mining/hashrate/1y' \
'/api/v1/mining/hashrate/2y' \
'/api/v1/mining/hashrate/3y' \
'/api/v1/mining/hashrate/all' \
do
curl -s "https://${hostname}${url}" >/dev/null