🐛 Fix image proxy doesn't work

This commit is contained in:
2025-03-30 21:57:30 +08:00
parent f306ee2e1e
commit 35e4f9a9ad
2 changed files with 8 additions and 12 deletions

View File

@@ -23,7 +23,6 @@ var (
func BuildDestinationMapping() {
count := len(cast.ToSlice(viper.Get("destinations")))
for idx := 0; idx < count; idx++ {
fmt.Println(idx)
destMap := viper.GetStringMap(fmt.Sprintf("destinations.%d", idx))
var parsed models.BaseDestination
raw, _ := jsoniter.Marshal(destMap)