mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-26 00:53:23 +08:00
fixing get config
This commit is contained in:
parent
72e7f6bfde
commit
39f0f46d3b
1 changed files with 0 additions and 1 deletions
|
@ -31,7 +31,6 @@ func GetServerConfig() config.ServerConfig {
|
||||||
cfg.AllowedOrigin = GetAllowedOrigin()
|
cfg.AllowedOrigin = GetAllowedOrigin()
|
||||||
cfg.RestBackend = "off"
|
cfg.RestBackend = "off"
|
||||||
cfg.Verbosity = GetVerbose()
|
cfg.Verbosity = GetVerbose()
|
||||||
cfg.SQLConn = GetSQLConn()
|
|
||||||
if IsRestBackend() {
|
if IsRestBackend() {
|
||||||
cfg.RestBackend = "on"
|
cfg.RestBackend = "on"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue