Chrome changed the devtools url
chrome-devtools:// to devtools://
28b21a67f0
This commit is contained in:
parent
aa00b19c92
commit
cf5224140b
13 changed files with 14 additions and 16 deletions
|
@ -109,7 +109,7 @@ const { hasSwitch } = process.electronBinding('command_line')
|
|||
const contextIsolation = hasSwitch('context-isolation')
|
||||
|
||||
switch (window.location.protocol) {
|
||||
case 'chrome-devtools:': {
|
||||
case 'devtools:': {
|
||||
// Override some inspector APIs.
|
||||
require('@electron/internal/renderer/inspector')
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue