From d4ed4201f5e3cce65b419b5ba387160abbd7a313 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 27 Jan 2022 21:53:59 -0700 Subject: [PATCH] Bugfix: download CORS header --- public/manifest.json | 2 +- public/rules.json | 2 +- src/components/Player.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index d3775e88..feb85245 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { "name": "电梓播放器-第三方bilibili音频播放器", - "version": "0.0.0.1", + "version": "0.0.0.2", "description":"电梓播放器 / azusa-player: 一个第三方哔哩哔哩(bilibili.com)音频播放器 / A 3rd party Bilibili audio player.", "manifest_version": 3, "background": { diff --git a/public/rules.json b/public/rules.json index 18e4f1a8..9d67b9c6 100644 --- a/public/rules.json +++ b/public/rules.json @@ -8,7 +8,7 @@ { "header": "referer", "operation": "set", "value": "https://www.bilibili.com/" } ] }, - "condition": { "urlFilter" : "bilivideo.com", "resourceTypes": ["media"] } + "condition": { "urlFilter" : "bilivideo.com" } }, { "id": 2, diff --git a/src/components/Player.js b/src/components/Player.js index b2e2e7b9..9121adb6 100644 --- a/src/components/Player.js +++ b/src/components/Player.js @@ -175,7 +175,7 @@ export const Player = function ({ songList }) { // Initialization effect useEffect(() => { - console.log('ran Init useEffect - Player',songList) + console.log('ran Init useEffect - Player', songList) if (!songList || songList[0] == undefined) return; @@ -238,7 +238,7 @@ export const Player = function ({ songList }) { >