Fix configuration to read JSON correctly
This commit is contained in:
parent
083bea5504
commit
d3a3d4dbf5
|
@ -32,11 +32,11 @@ type Configuration struct {
|
||||||
|
|
||||||
// An identifier for the token which must be included in any requests to the panel
|
// An identifier for the token which must be included in any requests to the panel
|
||||||
// so that the token can be looked up correctly.
|
// so that the token can be looked up correctly.
|
||||||
AuthenticationTokenId string `yaml:"token_id"`
|
AuthenticationTokenId string `json:"token_id" yaml:"token_id"`
|
||||||
|
|
||||||
// The token used when performing operations. Requests to this instance must
|
// The token used when performing operations. Requests to this instance must
|
||||||
// validate against it.
|
// validate against it.
|
||||||
AuthenticationToken string `yaml:"token"`
|
AuthenticationToken string `json:"token" yaml:"token"`
|
||||||
|
|
||||||
Api ApiConfiguration
|
Api ApiConfiguration
|
||||||
System SystemConfiguration
|
System SystemConfiguration
|
||||||
|
|
Loading…
Reference in New Issue
Block a user