mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-02 22:03:09 +02:00
Update config parameter name to match other options.
This commit is contained in:
parent
66d860bd79
commit
c6892dcb2a
|
@ -18,7 +18,7 @@
|
|||
# Possible values:
|
||||
# - static: A mapping of token id -> public key is configured below.
|
||||
# - etcd: Token information are retrieved from an etcd cluster (see below).
|
||||
token_type = static
|
||||
tokentype = static
|
||||
|
||||
[sessions]
|
||||
# Secret value used to generate checksums of sessions. This should be a random
|
||||
|
|
|
@ -131,7 +131,7 @@ func NewProxyServer(r *mux.Router, version string, config *goconf.ConfigFile, na
|
|||
|
||||
var tokens ProxyTokens
|
||||
var err error
|
||||
tokenType, _ := config.GetString("app", "token_type")
|
||||
tokenType, _ := config.GetString("app", "tokentype")
|
||||
if tokenType == "" {
|
||||
tokenType = TokenTypeDefault
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue