mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-04 17:04:42 +08:00
fix: link cache not deleted after overwriting file (close #4852)
This commit is contained in:
@ -25,6 +25,7 @@ type Link struct {
|
||||
Status int // status maybe 200 or 206, etc
|
||||
FilePath *string // local file, return the filepath
|
||||
Expiration *time.Duration // url expiration time
|
||||
IPCacheKey bool // add ip to cache key
|
||||
//Handle func(w http.ResponseWriter, r *http.Request) error `json:"-"` // custom handler
|
||||
Writer WriterFunc `json:"-"` // custom writer
|
||||
}
|
||||
|
Reference in New Issue
Block a user