mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
ops: Update nginx-cache-warmer for new pool slugs API
This commit is contained in:
parent
b6c7c02a2d
commit
7ad207766b
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
hostname=$(hostname)
|
hostname=$(hostname)
|
||||||
slugs=(`curl -sSL https://raw.githubusercontent.com/mempool/mining-pools/master/pools.json | jq -r '.slugs[]'`)
|
slugs=(`curl -sSL https://${hostname}/api/v1/mining/pools/3y|jq -r -S '(.pools[].slug)'`)
|
||||||
|
|
||||||
warm()
|
warm()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue