Merge branch 'main' into issue115

This commit is contained in:
6543 2023-01-04 05:39:56 +00:00
commit e3b10685f0
19 changed files with 172 additions and 85 deletions

View file

@ -66,7 +66,7 @@ func Serve(ctx *cli.Context) error {
}
allowedCorsDomains := AllowedCorsDomains
if len(rawDomain) != 0 {
if rawDomain != "" {
allowedCorsDomains = append(allowedCorsDomains, rawDomain)
}