docs,config: add Oracle.AllowedContentTypes
option
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
e936e5e295
commit
9b89e3f632
8 changed files with 16 additions and 0 deletions
|
@ -61,6 +61,8 @@ ApplicationConfiguration:
|
|||
MinPeers: 5
|
||||
Oracle:
|
||||
Enabled: false
|
||||
AllowedContentTypes:
|
||||
- application/json
|
||||
P2PNotary:
|
||||
Enabled: false
|
||||
UnlockWallet:
|
||||
|
|
|
@ -57,6 +57,8 @@ ApplicationConfiguration:
|
|||
MinPeers: 3
|
||||
Oracle:
|
||||
Enabled: false
|
||||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- 172.200.0.1:30333
|
||||
- 172.200.0.2:30334
|
||||
|
|
|
@ -57,6 +57,8 @@ ApplicationConfiguration:
|
|||
MinPeers: 3
|
||||
Oracle:
|
||||
Enabled: false
|
||||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- 172.200.0.1:30333
|
||||
- 172.200.0.2:30334
|
||||
|
|
|
@ -51,6 +51,8 @@ ApplicationConfiguration:
|
|||
MinPeers: 0
|
||||
Oracle:
|
||||
Enabled: false
|
||||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- 172.200.0.1:30333
|
||||
RequestTimeout: 5s
|
||||
|
|
|
@ -57,6 +57,8 @@ ApplicationConfiguration:
|
|||
MinPeers: 3
|
||||
Oracle:
|
||||
Enabled: false
|
||||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- 172.200.0.1:30333
|
||||
- 172.200.0.2:30334
|
||||
|
|
|
@ -57,6 +57,8 @@ ApplicationConfiguration:
|
|||
MinPeers: 3
|
||||
Oracle:
|
||||
Enabled: false
|
||||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- 172.200.0.1:30333
|
||||
- 172.200.0.2:30334
|
||||
|
|
|
@ -61,6 +61,8 @@ ApplicationConfiguration:
|
|||
MinPeers: 5
|
||||
Oracle:
|
||||
Enabled: false
|
||||
AllowedContentTypes:
|
||||
- application/json
|
||||
P2PNotary:
|
||||
Enabled: false
|
||||
UnlockWallet:
|
||||
|
|
|
@ -19,6 +19,8 @@ Parameters:
|
|||
* `AllowPrivateHost`: boolean value, enables/disables private IPs (like
|
||||
127.0.0.1 or 192.168.0.1) for https requests, it defaults to false and it's
|
||||
false on public networks, but you can enable it for private ones.
|
||||
* `AllowedContentTypes`: list of allowed MIME types. Only `application/json`
|
||||
is allowed by default. Can be left empty to allow everything.
|
||||
* `Nodes`: list of oracle node RPC endpoints, it's used for oracle node
|
||||
communication. All oracle nodes should be specified there.
|
||||
* `NeoFS`: a subsection of its own for NeoFS configuration with two
|
||||
|
|
Loading…
Reference in a new issue