mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-16 01:16:03 +01:00
fixup! fix lint
Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
This commit is contained in:
@@ -157,7 +157,7 @@ func (c *Config) xtreamGet(ctx *gin.Context) {
|
|||||||
if !ok || d.Hours() >= float64(c.M3UCacheExpiration) {
|
if !ok || d.Hours() >= float64(c.M3UCacheExpiration) {
|
||||||
log.Printf("[iptv-proxy] %v | %s | xtream cache m3u file\n", time.Now().Format("2006/01/02 - 15:04:05"), ctx.ClientIP())
|
log.Printf("[iptv-proxy] %v | %s | xtream cache m3u file\n", time.Now().Format("2006/01/02 - 15:04:05"), ctx.ClientIP())
|
||||||
xtreamM3uCacheLock.RUnlock()
|
xtreamM3uCacheLock.RUnlock()
|
||||||
playlist, err := m3u.Parse(m3uURL.Path)
|
playlist, err := m3u.Parse(m3uURL.String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.AbortWithError(http.StatusInternalServerError, err) // nolint: errcheck
|
ctx.AbortWithError(http.StatusInternalServerError, err) // nolint: errcheck
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user