mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 08:16:49 +00:00
Fix Mempool API call
This commit is contained in:
@@ -15,7 +15,7 @@ const writeJSON = (file, data) => writeFileSync(file, JSON.stringify(data, null,
|
|||||||
|
|
||||||
let recentBlocks = []
|
let recentBlocks = []
|
||||||
try {
|
try {
|
||||||
recentBlocks = loadJson('https://mempool.observer/api/recentBlocks')
|
recentBlocks = loadJson('https://mempool.space/api/blocks/')
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('Could not load recent blocks:', err)
|
console.error('Could not load recent blocks:', err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user