try fix CI
All checks were successful
Deploy App / build (push) Successful in 48s
Deploy App / deploy (push) Successful in 22s

This commit is contained in:
valere
2026-02-10 17:57:56 +01:00
parent 7be09dd12d
commit 08db4d7388
9 changed files with 12 additions and 15 deletions

View File

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