Reputation: 170
I'm trying to upload images to my Django site's S3 storage using Wagtail. The images upload properly, but Wagtail appends ?AWSAccessKeyId=
followed by a bunch of gibberish to the image URL.
This causes the image to fail to load in both Wagtail's admin as well as the actual site.
If I remove the appended text then the URL works properly. The problem is, I don't know how to stop Wagtail from appending the text in the first place.
Upvotes: 0
Views: 379
Reputation: 25237
As per the django-storages docs, you can set AWS_QUERYSTRING_AUTH
to False to disable the query parameter.
Upvotes: 1