mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
fix static url
fix static url
This commit is contained in:
parent
d55b0ed1b5
commit
98983995a3
@ -38,7 +38,7 @@
|
|||||||
// Convert share tracks to APlayer format
|
// Convert share tracks to APlayer format
|
||||||
const playlist = shareInfo.tracks.map(function(track) {
|
const playlist = shareInfo.tracks.map(function(track) {
|
||||||
// Stream URL uses the encoded track ID (contains JWT token)
|
// 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
|
// Cover art URL - we'll construct it from the share's image
|
||||||
const coverUrl = shareInfo.imageUrl || baseURL + '/android-chrome-192x192.png';
|
const coverUrl = shareInfo.imageUrl || baseURL + '/android-chrome-192x192.png';
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<meta name="description" content="Shared music player - {{.ShareDescription}}">
|
<meta name="description" content="Shared music player - {{.ShareDescription}}">
|
||||||
|
|
||||||
<!-- APlayer CSS (vendored locally) -->
|
<!-- 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>
|
<style>
|
||||||
* {
|
* {
|
||||||
@ -120,7 +120,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- APlayer library (vendored locally) -->
|
<!-- 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 -->
|
<!-- APlayer Share integration script -->
|
||||||
<script>{{.APlayerScript}}</script>
|
<script>{{.APlayerScript}}</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user