chore: fixes

This commit is contained in:
MattTheTekie 2026-05-04 20:03:39 -04:00
commit 410106fe05

View file

@ -34,7 +34,7 @@ async function loadMusicData() {
} }
// Map the songs into a simplified format with direct audio URLs // Map the songs into a simplified format with direct audio URLs
const baseUrl = "https://cdn.veltron.net/aero/music/"; // Base URL for the music files const baseUrl = "https://cdn.veltron.net/aero"; // Base URL for the music files
const playlist = section.li.map(item => ({ const playlist = section.li.map(item => ({
title: item.a.title, title: item.a.title,
url: baseUrl + item.a["@data-src-mp3"].split("/").pop(), // Build the full URL from the base path url: baseUrl + item.a["@data-src-mp3"].split("/").pop(), // Build the full URL from the base path