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

@@ -2,7 +2,7 @@ import { syncCardsWithDatabase } from '../services/cardSync.service'
export default defineEventHandler(async (event) => {
const config = useRuntimeConfig()
const folderPath = process.env.NUXT_PATH_FILES
const folderPath = 'mnt/media/files/music'
if (!folderPath) {
throw createError({

View File

@@ -1,7 +1,7 @@
import { syncCardsWithDatabase } from '../../services/cardSync.service'
export default defineEventHandler(async (event) => {
const folderPath = process.env.NUXT_PATH_FILES
const folderPath = 'mnt/media/files/music'
try {
const result = await syncCardsWithDatabase(folderPath)

View File

@@ -1,7 +1,7 @@
import { scanMusicFolder } from '../../utils/fileScanner'
export default defineEventHandler(async (event) => {
const folderPath = process.env.NUXT_PATH_FILES
const folderPath = 'mnt/media/files/music'
try {
// Test 1: Vérifier que le dossier existe