0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.changeset/tasty-kings-fetch.md

9 lines
550 B
Markdown

---
"@logto/phrases": patch
"@logto/tunnel": patch
"@logto/core": patch
---
fix an issue that prevent mp4 video from playing on Safari
Safari browser uses range request to fetch video data, but it was not supported by the `@logto/tunnel` CLI tool and `koa-serve-custom-ui-assets` middleware in core. This prevents our users who want to build custom sign-in pages with video background. In order to fix this, we need to partially read the video file stream based on the `range` request header, and set proper response headers and status code (206).