chore:fix: set env var fall back for MANIFEST, ICON, APP_LOGO (#21)

* chore:fix: set env var fall back for `MANIFEST`, `ICON`, `APP_LOGO`

* doc: add further entries to `config.sample.json`

* chore: add missing new line

Co-authored-by: tsukino <87639218+0xtsukino@users.noreply.github.com>
This commit is contained in:
r1oga
2022-09-27 09:23:33 +02:00
committed by GitHub
parent 3ff56168d2
commit efa75f39d4
2 changed files with 12 additions and 6 deletions

View File

@@ -1,5 +1,11 @@
{
"web3HttpProvider": "https://mainnet.infura.io/v3/<project-id>",
"ensResolver": "",
"indexerAPI": "http://localhost:3000"
}
"arbitrumHttpProvider": "https://rinkeby.arbitrum.io/rpc",
"arbitrumRegistrar": "0x4e3f9c0374816C80B1f1c8D2D49b3cD68460330b",
"arbitrumExplorer": "https://arbiscan.io/",
"ensResolver": "0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41",
"indexerAPI": "http://localhost:3000",
"interrepAPI": "https://kovan.interrep.link/api",
"baseUrl": "http://127.0.0.1:8080",
"gunPeers": []
}

View File

@@ -122,15 +122,15 @@ module.exports = [
}),
new CopyPlugin([
{
from: process.env.FAVICON || './static/icons/favicon.zkitter.png',
from: process.env.FAVICON || __dirname + '/static/icons/favicon.zkitter.png',
to: __dirname + '/build/favicon.png',
},
{
from: process.env.MANIFEST || './static/manifest.zkitter.json',
from: process.env.MANIFEST || __dirname + '/static/manifest.zkitter.json',
to: __dirname + '/build/manifest.json',
},
{
from: process.env.APP_LOGO || './static/icons/zkitter_logo.svg',
from: process.env.APP_LOGO || __dirname + '/static/icons/zkitter_logo.svg',
to: __dirname + '/build/applogo.svg',
},
]),