mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42: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,
|
Id: id,
|
||||||
}
|
}
|
||||||
|
|
||||||
if config.ProxyMode {
|
if etag != "" {
|
||||||
data.Path = p
|
data.Path = p
|
||||||
data.Checksum = HashString(etag)
|
data.Checksum = HashString(etag)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user