调整配置

This commit is contained in:
tangly1024
2023-01-18 21:37:53 +08:00
parent 834478f8af
commit a37cd8ec5f
3 changed files with 4 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ const CommonScript = () => {
</>)}
{/* 引入音乐播放 */}
{JSON.parse(BLOG.MUSIC_PLAYER) && <script async src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/aplayer/1.10.1/APlayer.min.js" />}
{JSON.parse(BLOG.MUSIC_PLAYER) && <script async src={BLOG.MUSIC_PLAYER_CDN_URL} />}
{JSON.parse(BLOG.MUSIC_PLAYER) && JSON.parse(BLOG.MUSIC_PLAYER_METING) && <script async src="https://cdnjs.cloudflare.com/ajax/libs/meting/2.0.1/Meting.min.js" />}
</>)
}

View File

@@ -39,7 +39,7 @@ const Player = () => {
fixed="true"
type="playlist"
preload="auto"
lrc-type="1"
lrc-type={BLOG.MUSIC_PLAYER_LRC_TYPE}
autoplay={autoPlay}
order={BLOG.MUSIC_PLAYER_ORDER}
server={BLOG.MUSIC_PLAYER_METING_SERVER}