diff --git a/server/app/config.go b/server/app/config.go index 7693e6e..1eb788d 100644 --- a/server/app/config.go +++ b/server/app/config.go @@ -10,6 +10,7 @@ import ( ) type Config struct { + ConfigVersion int `json:"configversion"` Port int `json:"port"` EnablePrometheus bool `json:"enableprometheus"` EnableRendering bool `json:"enablerendering"` @@ -138,6 +139,7 @@ func ParseConfig(filename string) (*Config, error) { } cfg := Config{ + ConfigVersion: 1, Port: 8080, EnableRendering: true, EnablePrometheus: true,