fix(config): Inline SDKConfig for proper YAML parsing

This commit is contained in:
hkfires
2025-09-27 12:23:20 +08:00
parent f9a170a3c4
commit da72ac1f6d

View File

@@ -15,7 +15,7 @@ import (
// Config represents the application's configuration, loaded from a YAML file.
type Config struct {
config.SDKConfig
config.SDKConfig `yaml:",inline"`
// Port is the network port on which the API server will listen.
Port int `yaml:"port" json:"-"`