mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
550 B
550 B
@logto/phrases | @logto/tunnel | @logto/core |
---|---|---|
patch | patch | 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).