mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Add gating to the JS delta client on the remote debugger
Reviewed By: jeanlauliac Differential Revision: D5940923 fbshipit-source-id: 1ef4cd52ef3567f2e726217636253802a2e6bb40
This commit is contained in:
committed by
Facebook Github Bot
parent
b3fc64285e
commit
a0e88c2a5b
@@ -206,6 +206,10 @@
|
||||
connectToDebuggerProxy();
|
||||
|
||||
async function getBlobUrl(url) {
|
||||
if (window.location.hash.indexOf('useDeltaBundler') === -1) {
|
||||
return url;
|
||||
}
|
||||
|
||||
return await window.deltaUrlToBlobUrl(url.replace('.bundle', '.delta'));
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user