mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: resolve crash loading file based serviceworkers (#20142)
This commit is contained in:
@@ -694,7 +694,7 @@ void ProxyingURLLoaderFactory::CreateLoaderAndStart(
|
||||
// Intercept file:// protocol to support asar archives.
|
||||
if (request.url.SchemeIsFile()) {
|
||||
asar::CreateAsarURLLoader(request, std::move(loader), std::move(client),
|
||||
nullptr);
|
||||
new net::HttpResponseHeaders(""));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user