8000 Release v2.5.4: Avoid asking the cloud if an image exists · fatymahmed/openfoodnetwork · GitHub
[go: up one dir, main page]

Skip to content

v2.5.4

@mkllnk mkllnk tagged this 23 Oct 00:45
https://github.com/openfoodfoundation/openfoodnetwork/issues/4392

Amazon's DNS is failing at the moment and some users can't access the
admin panel because of this error.

While `exists?` asks the storage server if the file is actually there,
`file?` just checks if we have the file name stored in the database
and the file should be there. It's much faster and less error prone.
Assets 2
Loading
0