workarea-commerce/workarea

Direct Uploads Fail Locally

Closed this issue · 2 comments

tubbo commented

Describe the bug
When directly uploading assets, either on /admin/content_assets or in a content block itself, and the S3 bucket is configured properly, assets can still fail to upload if the Workarea.config.host does not match

To Reproduce
Steps to reproduce the behavior:

  1. Configure your app with S3 secrets and a config.host like example.com.
  2. Go to /admin/content_assets and try to upload an asset
  3. You'll get a "Something Went Wrong" message, and CORS warnings in the JS console

Expected behavior
The asset should upload successfully.

Workarea Setup (please complete the following information):

  • Workarea v3.4.14
tubbo commented

this one is ready for QA