Skip to content

Commit

Permalink
fix: incorrect cache key (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerHuo authored Nov 22, 2023
1 parent d7d4c37 commit 290b233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 290b233

Please sign in to comment.