Adding support for optional frontend config.

Dropdown network selector is hidden by default, and enabled using config.
fixes #79
This commit is contained in:
softsimon
2020-06-22 22:10:49 +07:00
parent 7e9ba6b983
commit 0a264a7078
11 changed files with 86 additions and 12 deletions

View File

@@ -200,6 +200,13 @@ Build the frontend static HTML/CSS/JS, rsync the output into nginx folder:
sudo rsync -av --delete dist/mempool/ /var/www/html/
```
### Optional frontend configuration
In the `frontend` folder, make a copy of the sample config and modify it to fit your settings.
```bash
cp mempool-frontend-config.sample.json mempool-frontend-config.json
```
## Try It Out
If everything went okay you should see the beautiful mempool :grin: