fix static url

fix static url
This commit is contained in:
Sora 2025-12-18 13:42:42 +08:00
parent d55b0ed1b5
commit 98983995a3
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
// Convert share tracks to APlayer format
const playlist = shareInfo.tracks.map(function(track) {
// Stream URL uses the encoded track ID (contains JWT token)
const streamUrl = baseURL + '/public/s/' + track.id;
const streamUrl = baseURL + '/share/s/' + track.id;
// Cover art URL - we'll construct it from the share's image
const coverUrl = shareInfo.imageUrl || baseURL + '/android-chrome-192x192.png';

View File

@ -7,7 +7,7 @@
<meta name="description" content="Shared music player - {{.ShareDescription}}">
<!-- APlayer CSS (vendored locally) -->
<link rel="stylesheet" href="{{.BaseURL}}/public/aplayer/APlayer.min.css">
<link rel="stylesheet" href="{{.BaseURL}}/share/aplayer/APlayer.min.css">
<style>
* {
@ -120,7 +120,7 @@
</script>
<!-- APlayer library (vendored locally) -->
<script src="{{.BaseURL}}/public/aplayer/APlayer.min.js"></script>
<script src="{{.BaseURL}}/share/aplayer/APlayer.min.js"></script>
<!-- APlayer Share integration script -->
<script>{{.APlayerScript}}</script>