update hls components
This commit is contained in:
parent
828095ab48
commit
8aeb8ce255
2 changed files with 7390 additions and 7389 deletions
|
@ -227,7 +227,7 @@ export class Win {
|
||||||
* Starts the session for the renderer process.
|
* Starts the session for the renderer process.
|
||||||
*/
|
*/
|
||||||
private startSession(): void {
|
private startSession(): void {
|
||||||
// intercept "https://js-cdn.music.apple.com/hls.js/2.141.0/hls.js/hls.js" and redirect to local file "./apple-hls.js" instead
|
// intercept "https://js-cdn.music.apple.com/hls.js/2.141.1/hls.js/hls.js" and redirect to local file "./apple-hls.js" instead
|
||||||
this.win.webContents.session.webRequest.onBeforeRequest(
|
this.win.webContents.session.webRequest.onBeforeRequest(
|
||||||
{
|
{
|
||||||
urls: ["https://*/*.js"],
|
urls: ["https://*/*.js"],
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue