mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 05:32:02 +08:00
fix: incorrect cache key (#286)
This commit is contained in:
parent
d7d4c37e44
commit
290b23355a
@ -56,7 +56,7 @@ func WriteMetadata(p, etag string, subdir string) config.MetaFile {
|
||||
Id: id,
|
||||
}
|
||||
|
||||
if config.ProxyMode {
|
||||
if etag != "" {
|
||||
data.Path = p
|
||||
data.Checksum = HashString(etag)
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user