mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-11 15:26:50 +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 = []
|
||||
try {
|
||||
recentBlocks = loadJson('https://mempool.observer/api/recentBlocks')
|
||||
recentBlocks = loadJson('https://mempool.space/api/blocks/')
|
||||
} catch (err) {
|
||||
console.error('Could not load recent blocks:', err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user