Open veganstraightedge opened 7 years ago
Is it normal that when I try to access https://cdn.crimethinc.com/assets/everywhere/1a.jpg
I get an access denied error?
Looking at the S3 bucket, that file path doesn't exist.
I think what I meant when I wrote this ticket was: that was just an example.
But I think the ideal version would be to find the actual places where each of those files actually are lives now, and redirect to correct image. Rather than just having a junk drawer of misc redirected images.
But maybe this whole ticket is a moot point because most everything will be in ActiveStorage soon, which doesn't have static URLs (AFAIK at least).
The right way to do the redirection is probably to find all images in the public folder and in the content and redirect them to CDN.
Oh, you plan to migrate all image with static link to Active Storage? I'm wondering how we can handle redeployment or stuff like that since in local we have to reinsert every image from the bucket, tho?
I'm not sure how we should handle Active Storage + local development.
I don't think we should put all images the CDN or Active Storage. Like the logo and stuff, that should probably stay in app/assets/images
. But the stuff in public/
that was there for old features or TCE etc. Those should all move into: app/assets/images
or the CDN.
/everywhere/1a.jpg
tohttps://cdn.crimethinc.com/assets/everywhere/1a.jpg
https://crimethinc.com/rt/pics/rt32b.jpg
https://crimethinc.com/summer/poster.pdf
https://crimethinc.com/texts/battle/images/header2000.jpg
https://crimethinc.com/texts/democracy/images/bridge.gif
https://crimethinc.com/texts/from-ferguson-to-the-bay/images/quote1370.jpg
https://crimethinc.com/texts/police1.gif
https://crimethinc.com/texts/police3.gif
https://crimethinc.com/texts/reaction/images/trump1370.jpg
https://crimethinc.com/tools/downloads/pdfs/anarchyandalcoholreading.pdf
https://crimethinc.com/tools/downloads/pdfs/forgetterrorismafterthefall.pdf
https://crimethinc.com/tools/downloads/pdfs/huntergatherer.pdf
https://crimethinc.com/tools/downloads/pdfs/jointhewar.pdf
https://crimethinc.com/tools/downloads/posters/pdfs/millionsofdollarsinprizescolor.pdf
https://crimethinc.com/tools/downloads/preview/killagain.gif
https://crimethinc.com/tools/downloads/previewbig/bulletbig.gif
https://crimethinc.com/tools/posters/genderbig.gif
https://crimethinc.com/wp-content/uploads/2008/01/bradwillrollingstone.pdf
https://crimethinc.com/wp-content/uploads/2016/03/1a-2.jpg
https://crimethinc.com/wp-content/uploads/2013/07/2b2.jpg
fromhttps://crimethinc.com/2013/07/06/is-she-an-informant-a-ten-point-checklist