Chrome changed the devtools url

chrome-devtools:// to devtools://
https://chromium.googlesource.com/chromium/src/+/28b21a67f09a13c465b73776aecd9995d8a07737
This commit is contained in:
Nitish Sakhawalkar 2019-05-17 15:37:09 -07:00
commit cf5224140b
13 changed files with 14 additions and 16 deletions

View file

@ -94,7 +94,7 @@ if (preloadScript) {
}
switch (window.location.protocol) {
case 'chrome-devtools:': {
case 'devtools:': {
// Override some inspector APIs.
require('@electron/internal/renderer/inspector')
break