Add new api endpoint to cache warmer

This commit is contained in:
nymkappa 2022-02-25 10:21:16 +09:00
parent ec40231f93
commit c419b7dd1a
No known key found for this signature in database
GPG key ID: E155910B16E8BD04

View file

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