Fix cache key error
All checks were successful
Deploy / deploy (push) Successful in 1m33s

This commit is contained in:
David Eisinger
2026-04-09 00:26:36 -04:00
parent a0a120b31e
commit c41e908ed5

View File

@@ -16,11 +16,9 @@ def cache_path_for(path, geometry)
return unless CACHE_DIR
source_path = "#{ROOT}/#{path}.enc"
stat = File.stat(source_path)
cache_key = Digest::SHA256.hexdigest([
path,
stat.size,
stat.mtime.to_f,
Digest::SHA256.file(source_path).hexdigest,
geometry,
DITHER,
FORMAT,