added cors header
This commit is contained in:
@@ -34,6 +34,9 @@ type Conf struct {
|
||||
APIKey string `yaml:"api_key"`
|
||||
RatePerSecond int `yaml:"rate_per_sec"`
|
||||
}
|
||||
Httpd struct {
|
||||
CORSAllowDomains string `yaml:"cors_allow_domains"`
|
||||
}
|
||||
}
|
||||
|
||||
type DBWithLock struct {
|
||||
|
Reference in New Issue
Block a user