chore: mv config

This commit is contained in:
Simon Ding
2025-03-31 11:00:30 +08:00
parent 050e6446a7
commit db22c4cff2

View File

@@ -17,7 +17,7 @@ type TMDB struct {
func LoadConfig() (*Config, error) {
viper.SetConfigName("config") // name of config file (without extension)
viper.SetConfigType("yml") // REQUIRED if the config file does not have the extension in the name
viper.SetConfigType("yml") // REQUIRED if the config file does not have the extension in the name
viper.AddConfigPath(".")
viper.AddConfigPath("/app/data")