Merge pull request #5053 from mempool/mononaut/unfurler-fixes-2
Fix unfurler resources build
| @ -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/sv/onbtc-preview.jpg" /> | ||||
|   <meta property="og:image" content="https://mempool.space/resources/onbtc/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,14 +19,14 @@ | ||||
|   <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/sv/onbtc-preview.jpg" /> | ||||
|   <meta name="twitter:image" content="https://mempool.space/resources/onbtc/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"> | ||||
|   <link rel="icon" type="image/png" sizes="32x32" href="/resources/sv/favicons/favicon-32x32.png"> | ||||
|   <link rel="icon" type="image/png" sizes="16x16" href="/resources/sv/favicons/favicon-16x16.png"> | ||||
|   <link rel="manifest" href="/resources/sv/favicons/site.webmanifest"> | ||||
|   <link rel="shortcut icon" href="/resources/sv/favicons/favicon.ico"> | ||||
|   <link rel="apple-touch-icon" sizes="180x180" href="/resources/onbtc/favicons/apple-touch-icon.png"> | ||||
|   <link rel="icon" type="image/png" sizes="32x32" href="/resources/onbtc/favicons/favicon-32x32.png"> | ||||
|   <link rel="icon" type="image/png" sizes="16x16" href="/resources/onbtc/favicons/favicon-16x16.png"> | ||||
|   <link rel="manifest" href="/resources/onbtc/favicons/site.webmanifest"> | ||||
|   <link rel="shortcut icon" href="/resources/onbtc/favicons/favicon.ico"> | ||||
|   <link id="canonical" rel="canonical" href="https://bitcoin.gob.sv"> | ||||
| 
 | ||||
|   <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|  | ||||
| Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB | 
| Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB | 
| Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB | 
| Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 756 B | 
| Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 340 KiB After Width: | Height: | Size: 340 KiB | 
| @ -9,7 +9,7 @@ | ||||
|   "main": "index.ts", | ||||
|   "scripts": { | ||||
|     "tsc": "./node_modules/typescript/bin/tsc", | ||||
|     "build": "npm run tsc && cp -r src/resources dist/resources", | ||||
|     "build": "npm run tsc && rsync -av ../frontend/dist/mempool/browser/resources dist/", | ||||
|     "start": "node --max-old-space-size=2048 dist/index.js", | ||||
|     "unfurler": "node --max-old-space-size=4096 dist/index.js", | ||||
|     "lint": "./node_modules/.bin/eslint . --ext .ts", | ||||
|  | ||||
| @ -1 +0,0 @@ | ||||
| ../../frontend/src/resources | ||||
| @ -254,7 +254,7 @@ const networks = { | ||||
|     routes: {} // no routes supported
 | ||||
|   }, | ||||
|   onbtc: { | ||||
|     fallbackImg: '/resources/sv/onbtc-preview.jpg', | ||||
|     fallbackImg: '/resources/onbtc/onbtc-preview.jpg', | ||||
|     routes: { // only dynamic routes supported
 | ||||
|       block: routes.block, | ||||
|       address: routes.address, | ||||
|  | ||||