add the metrics server flag to the config for now

This commit is contained in:
2026-06-22 22:07:43 +01:00
parent ac187c9292
commit 5d8552e9a2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ var instance *ESDICfg
type ESDICfg struct {
DefaultSim string `yaml:"default_sim"`
DefaultLayout string `yaml:"default_layout"`
MetricsServer bool `yaml:"metrics_server"`
}
func (cfg *ESDICfg) loadConfiguration(path string) error {
+1
View File
@@ -1,2 +1,3 @@
default_sim: "iRacing"
default_layout: "layout.yaml"
metrics_server: true