add user-header config value

This commit is contained in:
ngerstle 2023-02-04 23:44:16 +01:00
parent 8da46afab4
commit a69f9c5bf2

View file

@ -101,6 +101,7 @@ type Config struct {
BehindProxy bool
EnableWeb bool
Version string // injected by App
UserHeader string
}
// NewConfig instantiates a default new server config
@ -146,5 +147,6 @@ func NewConfig() *Config {
BehindProxy: false,
EnableWeb: true,
Version: "",
UserHeader: "",
}
}