Add headers config, closes #25

This commit is contained in:
Ken-Håvard Lieng 2018-12-20 11:51:31 +01:00
parent 6aaa2b521d
commit 8526805c2f
3 changed files with 9 additions and 0 deletions

View file

@ -14,6 +14,7 @@ type Config struct {
Dev bool
HexIP bool
VerifyCertificates bool `mapstructure:"verify_certificates"`
Headers map[string]string
Defaults *Defaults
HTTPS *HTTPS
LetsEncrypt *LetsEncrypt