Skip to content

fix: preserve signed media URLs - #154

Open
drinovac wants to merge 3 commits into
shotstack:mainfrom
drinovac:fix/remove_cors_query_param
Open

fix: preserve signed media URLs#154
drinovac wants to merge 3 commits into
shotstack:mainfrom
drinovac:fix/remove_cors_query_param

Conversation

@drinovac

Copy link
Copy Markdown

Summary

  • Pass image and video source URLs to the asset loader unchanged.
  • Prevent the added x-cors=1 query parameter from invalidating signed S3 URLs.

Testing

  • npm test -- --runInBand tests/media-player-fallback.test.ts
  • npm run typecheck
  • npx eslint src/components/canvas/players/image-player.ts src/components/canvas/players/image-to-video-player.ts src/components/canvas/players/video-player.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant