mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Chrome changed the devtools url
chrome-devtools:// to devtools://
28b21a67f0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user