Using url_for()
on a file stored in active storage returns a url that leads to the application and then redirects to the actual location. Because of a bug in firefox with CORS, the redirect breaks my application.
Is there any way to get the direct link to the file with ActiveStorage?
url_for
(orpolymorphic_url
). At least that way you will be able to keep the path to your assets hidden from public, which can have all sorts of benefits. – Bombardier