Skip to content

Commit

Permalink
Update playlist.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrosen committed Oct 21, 2023
1 parent eb11b53 commit 73f6fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/playlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Playlist() {

useEffect(() => {
// fetch the article from /music/playlists/{slug}.json
fetch('/music/playlists/' + window.location.pathname.split('/').pop() + '.json')
fetch('/static/music/playlists/' + window.location.pathname.split('/').pop() + '.json')
.then(response => response.json())
.then(data => {
setPlaylist(data)
Expand Down

0 comments on commit 73f6fb4

Please sign in to comment.