Summary
Video uploads fail with a CORS error when the Studio URL is configured only in the new Managed CORS Origins.
Uploads succeed when the same origin is also added to Manual CORS Origins.
Steps to Reproduce
- Deploy Studio so URL appears in the new Managed CORS Origins.
- Ensure the same URL is not present in Manual CORS Origins.
- Open Sanity Studio.
- Attempt to upload a video.
Expected Behaviour
Video uploads should succeed when the origin is configured in the new Managed CORS Origins.
Actual Behaviour
Video uploads fail with a CORS error.
Workaround
Add the same origin to Manual CORS Origins.
Notes
- Adding the origin to both Managed and Manual CORS Origins resolves the issue.
- This effectively requires the origin to be configured twice.
- This is misleading as Sanity indicates that the new Managed CORS Origins supersede Manual CORS Origins.
Summary
Video uploads fail with a CORS error when the Studio URL is configured only in the new Managed CORS Origins.
Uploads succeed when the same origin is also added to Manual CORS Origins.
Steps to Reproduce
Expected Behaviour
Video uploads should succeed when the origin is configured in the new Managed CORS Origins.
Actual Behaviour
Video uploads fail with a CORS error.
Workaround
Add the same origin to Manual CORS Origins.
Notes