We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8e62e commit 2d61cf6Copy full SHA for 2d61cf6
config.go
@@ -40,7 +40,6 @@ type Config struct {
40
OverwriteData bool `yaml:"overwrite_data"`
41
BingToken string `yaml:"bing_token"`
42
ServerConfig ServerConfig `yaml:"server"`
43
- ServerPort int64 `yaml:"server_port"`
44
AdHocCacheEntries int `yaml:"ad_hoc_cache_entries"`
45
Sources struct {
46
Enabled []string
main.go
@@ -52,7 +52,7 @@ func main() {
52
Forecasters: forecasters,
53
}
54
scheduler.Start()
55
- if config.ServerPort == 0 {
+ if config.ServerConfig.Port == 0 {
56
// no port specified, keep other goroutines running
57
runtime.Goexit()
58
} else {
0 commit comments