Compare commits

1 Commits

Author SHA1 Message Date
a47497f822 chore: go fixes 2026-05-14 13:38:42 +02:00

View File

@@ -5,6 +5,7 @@ import (
"io"
"mal/internal/domain"
"mal/pkg/net/proxytransport"
"maps"
"net/http"
"strconv"
"strings"
@@ -72,9 +73,7 @@ func (h *PlaybackHandler) HandleWatchPage(c *gin.Context) {
"User": user,
"CurrentPath": c.Request.URL.Path,
}
for k, v := range data {
responseData[k] = v
}
maps.Copy(responseData, data)
c.HTML(http.StatusOK, "watch.gohtml", responseData)
}