Fix unfurler resources build
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user