mirror of
https://github.com/status-im/metro.git
synced 2025-01-29 20:35:09 +00:00
0b9ca22fb2
Summary: https://github.com/facebook/react-native/pull/8219 adds range requests to the asset server, but there was an off-by-one-error that made responses end prematurely. This made (for example) react-native-video not work for video assets. This change fixes the off-by-one error and react-native-video works with assets. **Test plan (required)** Try the test in the original pull request for range requests: https://github.com/facebook/react-native/pull/8219 Closes https://github.com/facebook/react-native/pull/9254 Differential Revision: D3680070 fbshipit-source-id: 3f2a18ba9f35b45b340f4a1046bc099b8444eb7d