Merge pull request #15137 from karalabe/puppeth-keywords

cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
pull/15138/head
Péter Szilágyi 7 years ago committed by GitHub
commit 514b1587db
  1. 2
      cmd/puppeth/module_ethstats.go

@ -42,7 +42,7 @@ RUN \
WORKDIR /eth-netstats
EXPOSE 3000
RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}]};' > lib/utils/config.js
RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}], reserved: ["yournode"]};' > lib/utils/config.js
CMD ["npm", "start"]
`

Loading…
Cancel
Save