mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
34a7526e79
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39394 * Constructs DevTools frontend WebSocket URLs with a client-accessible host, port and scheme derived from the initiating HTTP request (`/json` or `/open-debugger`), instead of from the static `host` and `port` parameters provided to `createDevMiddleware`. This results in more proxy-safe behaviour. * Removes the now-unused `host` and `port` parameters from `createDevMiddleware`. Changelog: [Internal] Reviewed By: huntie Differential Revision: D49158227 fbshipit-source-id: ec61d98458e5d5afba4eb937b84ff65071495cc9