switched up cors handling

This commit is contained in:
2021-10-23 22:33:32 +02:00
parent d0c35fe624
commit 2ad7b848dc
3 changed files with 6 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ type Conf struct {
Password string
}
Httpd struct {
CORSAllowDomains string `yaml:"cors_allow_domains"`
CORSAllowDomains []string `yaml:"cors_allow_domains"`
Listen []struct {
Socket string
Host string