mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 01:41:01 +01:00
Update unfurler routing, add fallback img
This commit is contained in:
parent
6b2cc23cd3
commit
f5333c529c
@ -9,7 +9,7 @@
|
||||
<base href="/">
|
||||
|
||||
<meta name="description" content="Explore the full Bitcoin ecosystem with The Mempool Open Source Project®. See the real-time status of your transactions, get network info, and more." />
|
||||
<meta property="og:image" content="https://mempool.space/resources/previews/mempool-space-preview.jpg" />
|
||||
<meta property="og:image" content="https://mempool.space/resources/sv/onbtc-preview.jpg" />
|
||||
<meta property="og:image:type" content="image/jpeg" />
|
||||
<meta property="og:image:width" content="2000" />
|
||||
<meta property="og:image:height" content="1000" />
|
||||
@ -19,7 +19,7 @@
|
||||
<meta name="twitter:creator" content="@mempool">
|
||||
<meta name="twitter:title" content="Oficina Nacional del Bitcoin - Bitcoin Explorer">
|
||||
<meta name="twitter:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Source Project®. See the real-time status of your transactions, get network info, and more." />
|
||||
<meta name="twitter:image" content="https://mempool.space/resources/previews/mempool-space-preview.jpg" />
|
||||
<meta name="twitter:image" content="https://mempool.space/resources/sv/onbtc-preview.jpg" />
|
||||
<meta name="twitter:domain" content="bitcoin.gob.sv">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/resources/sv/favicons/apple-touch-icon.png">
|
||||
|
BIN
frontend/src/resources/sv/onbtc-preview.jpg
Normal file
BIN
frontend/src/resources/sv/onbtc-preview.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
@ -50,6 +50,9 @@ class Server {
|
||||
case "bisq":
|
||||
canonical = "https://bisq.markets"
|
||||
break;
|
||||
case "onbtc":
|
||||
canonical = "https://bitcoin.gob.sv"
|
||||
break;
|
||||
default:
|
||||
canonical = "https://mempool.space"
|
||||
}
|
||||
|
@ -252,6 +252,24 @@ const networks = {
|
||||
bisq: {
|
||||
fallbackImg: '/resources/bisq/bisq-markets-preview.png',
|
||||
routes: {} // no routes supported
|
||||
},
|
||||
onbtc: {
|
||||
fallbackImg: '/resources/onbtc/onbtc-preview.png',
|
||||
routes: { // only dynamic routes supported
|
||||
block: routes.block,
|
||||
address: routes.address,
|
||||
tx: routes.tx,
|
||||
mining: {
|
||||
title: "Mining",
|
||||
routes: {
|
||||
pool: routes.mining.routes.pool,
|
||||
}
|
||||
},
|
||||
lightning: {
|
||||
title: "Lightning",
|
||||
routes: routes.lightning.routes,
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user