try fix CI 3
All checks were successful
Deploy App / build (push) Successful in 49s
Deploy App / deploy (push) Successful in 14s

This commit is contained in:
valere
2026-02-10 19:26:11 +01:00
parent e63b0d2cf2
commit ba943be467
6 changed files with 7 additions and 7 deletions

View File

@@ -30,14 +30,14 @@ export async function scanMusicFolder(folderPath: string): Promise<Card[]> {
for (const imgExt of listImageExts) {
const potentialImage = baseName + imgExt
if (files.includes(potentialImage)) {
imageUrl = process.env.NUXT_URL_PREFIX + baseName + imgExt
imageUrl = 'https://files.erudi.fr/music/' + baseName + imgExt
break
}
}
cardMap.set(parsed.esid, {
...parsed,
url_audio: process.env.NUXT_URL_PREFIX + baseName + ext,
url_audio: 'https://files.erudi.fr/music/' + baseName + ext,
url_image: imageUrl,
suit: parsed.suit,
rank: parsed.rank