Skip to content

Commit

Permalink
dd timestamp to image
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Jan 22, 2025
1 parent b700455 commit 052b764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def self.create_from_file(path, collection_format: 4326)
end

def screenshot
"/previews/#{safe_public_id}.png" if File.exist?(screenshot_file)
"/previews/#{safe_public_id}.png?#{Map.last.updated_at.to_i}" if File.exist?(screenshot_file)
end

def screenshot_file
Expand Down

0 comments on commit 052b764

Please sign in to comment.