Cross origin request handling for REST server in nwaku will be included into release 0.26.0. This option to configure this feature is documented here.

This commit is contained in:
NagyZoltanPeter 2024-02-29 11:02:07 +01:00
parent 58394dec00
commit b9f73d8903
No known key found for this signature in database
GPG Key ID: 16EADB9673B65368

View File

@ -119,6 +119,7 @@ Here are the available node configuration options, along with their default valu
| `rest-relay-cache-capacity` | `30` | Capacity of the Relay REST API message cache |
| `rest-admin` | `false` | Enable access to REST HTTP Admin API: true\|false |
| `rest-private` | `false` | Enable access to REST HTTP Private API: true\|false |
| `rest-allow-origin` | | Allow cross-origin requests from the specified origin.<br>In case REST Api will be used from a browser you need to specify the origin host in order to get proper answer from this node REST HTTP server.<br>This option maybe repeated and can contain wildcards (?,\*) in defining url and port<br>Ex.: \"localhost:*\" or \"127.0.0.1:8080\" or allow any sites with \"\*\" |
## Metrics config