mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
feat(source link): record downloads for redirected source link
This commit is contained in:
@@ -23,6 +23,7 @@ func ValidateSourceLink() gin.HandlerFunc {
|
||||
return
|
||||
}
|
||||
|
||||
sourceLink.Downloaded()
|
||||
c.Set("source_link", sourceLink)
|
||||
c.Next()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user