feat:data debug config.

This commit is contained in:
2026-05-13 10:04:48 +08:00
parent 25ed68be27
commit 1b447c782d
9 changed files with 251 additions and 8 deletions
+1
View File
@@ -60,6 +60,7 @@ func InitConfig() {
viper.AddConfigPath("./")
viper.SetConfigName("config")
viper.SetConfigType("yaml")
viper.SetDefault("mqtt.enable_measurement_subscriptions", true)
if err := viper.ReadInConfig(); err != nil {
panic("Failed to read config: " + err.Error())
}