mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Chrome changed the devtools url
chrome-devtools:// to devtools://
28b21a67f0
This commit is contained in:
@@ -23,9 +23,7 @@ const char kChromeUIDevToolsHost[] = "devtools";
|
||||
const char kChromeUIDevToolsBundledPath[] = "bundled";
|
||||
|
||||
std::string PathWithoutParams(const std::string& path) {
|
||||
return GURL(std::string("chrome-devtools://devtools/") + path)
|
||||
.path()
|
||||
.substr(1);
|
||||
return GURL(std::string("devtools://devtools/") + path).path().substr(1);
|
||||
}
|
||||
|
||||
std::string GetMimeTypeForPath(const std::string& path) {
|
||||
|
||||
Reference in New Issue
Block a user