Add the ability to define additional allowed origins

This commit is contained in:
Matthew Penner
2020-07-31 16:19:09 -06:00
parent 373dbd355e
commit b811d2474e
5 changed files with 37 additions and 7 deletions

View File

@@ -83,6 +83,9 @@ type Configuration struct {
// AllowedMounts .
AllowedMounts []string `json:"allowed_mounts" yaml:"allowed_mounts"`
// AllowedOrigins .
AllowedOrigins []string `json:"allowed_origins" yaml:"allowed_origins"`
}
// Defines the configuration of the internal SFTP server.