Skip to content

Commit

Permalink
add example config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rloomba committed Dec 26, 2018
1 parent a97d387 commit 1380496
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 30 deletions.
41 changes: 11 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/components/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default {
loadConfig () {
fetch('/static/config.json')
.then((resp) => {
console.log(resp)
if (resp.ok) resp.json().then((j) => { this.form = j })
else this.loadDefaultConfig()
})
Expand Down
7 changes: 7 additions & 0 deletions static/example.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Zednode",
"fee_percent": "10",
"minimum_contribution": 0,
"tezos_rpc_address": "https://rpc.tezrpc.me",
"baker_tz_address": "tz1L3vFD8mFzBaS8yLHFsd7qDJY1t276Dh8i"
}

0 comments on commit 1380496

Please sign in to comment.