stopped sending config unless asked in default url

This commit is contained in:
Paul Wilde 2021-08-16 20:52:41 +01:00
parent 588079375e
commit 7cc2e6d9e8

View file

@ -30,7 +30,7 @@ type Service struct {
Server string `yaml:"Server"` Server string `yaml:"Server"`
Port int `yaml:"Port"` Port int `yaml:"Port"`
SocketType string `yaml:"SocketType"` SocketType string `yaml:"SocketType"`
SPA bool `yaml:"SPA"` SPA bool `yaml:"SPA"`
UsernameIsFQDN bool `yaml:"UsernameIsFQDN"` UsernameIsFQDN bool `yaml:"UsernameIsFQDN"`
RequireLocalDomain bool `yaml:"RequireLocalDomain"` RequireLocalDomain bool `yaml:"RequireLocalDomain"`
NoAuthRequired bool `yaml:"NoAuthRequired"` NoAuthRequired bool `yaml:"NoAuthRequired"`
@ -50,8 +50,8 @@ type Response struct {
ContentType string `json:"content_type"` ContentType string `json:"content_type"`
Message string `json:"message"` Message string `json:"message"`
Content map[string]interface{} `json:"content"` Content map[string]interface{} `json:"content"`
Config Config Config Config `json:"_"`
Email string Email string `json:"_"`
} }
type MSAutodiscoverJSONResponse struct { type MSAutodiscoverJSONResponse struct {
// More work to do - handling of MS Autodiscover.json requests // More work to do - handling of MS Autodiscover.json requests