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 649ad2e859
commit 6e62c62855
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

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