Skip to content

Commit

Permalink
Bugfix: download CORS header
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmingwang committed Jan 28, 2022
1 parent 7e06d67 commit d4ed420
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion public/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/components/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -238,7 +238,7 @@ export const Player = function ({ songList }) {
>
<ReactJkMusicPlayer
{...params}
showMediaSession
showMediaSession
onAudioVolumeChange={onAudioVolumeChange}
onPlayModeChange={onPlayModeChange}
onAudioError={onAudioError}
Expand Down

0 comments on commit d4ed420

Please sign in to comment.