Skip to content

Commit

Permalink
remove unused rest-private parameter
Browse files Browse the repository at this point in the history
This is needed because nwaku no longer support this parameter.
See waku-org/nwaku#3004

Signed-off-by: Ivan Folgueira Bande <[email protected]>
  • Loading branch information
Ivansete-status committed Sep 18, 2024
1 parent d11ffbb commit 600d911
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ REST API is avalable to inspect the node and use protocols:
nim_waku_rest_enabled: true
nim_waku_rest_addr: '127.0.0.1'
nim_waku_rest_port: 8645
nim_waku_rest_apis_enabled: ['admin', 'private']
nim_waku_rest_apis_enabled: ['admin']
```
For full docs see [API docs page](https://waku-org.github.io/waku-rest-api/).
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ nim_waku_public_address: '{{ ansible_host }}'
nim_waku_rest_enabled: true
nim_waku_rest_addr: '127.0.0.1'
nim_waku_rest_port: 8645
nim_waku_rest_apis_enabled: ['admin'] # admin, private
nim_waku_rest_apis_enabled: ['admin'] # admin
nim_waku_websock_port: 8000
nim_waku_disc_v5_port: 9000
nim_waku_p2p_tcp_port: 30303
Expand Down
1 change: 0 additions & 1 deletion templates/config.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ rest = true
rest-address = '0.0.0.0'
rest-port = {{ nim_waku_rest_port }}
rest-admin = {{ ("admin" in nim_waku_rest_apis_enabled) | bool | to_json }}
rest-private = {{ ("private" in nim_waku_rest_apis_enabled) | bool | to_json }}
{% endif %}

{% if nim_waku_websocket_enabled %}
Expand Down

0 comments on commit 600d911

Please sign in to comment.