diff --git a/cmd/api/main.go b/cmd/api/main.go index 879a99d55..bbf76fffd 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -137,7 +137,7 @@ func main() { prometheusSource, ) - webConfigContent, err := applicationConfig.Web.getSettings(remoteConfig.Enabled) + webConfigContent, err := applicationConfig.Web.getSettings(remoteConfig.Enabled || prometheusConfig.Enabled) if err != nil { logger.Fatal(). Error(err).