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:
Rafael Oleza
2017-09-29 13:23:43 -07:00
committed by Facebook Github Bot
parent b3fc64285e
commit a0e88c2a5b
2 changed files with 11 additions and 4 deletions

View File

@@ -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'));
}
})();