diff --git a/server/api/playlists.ts b/server/api/playlists.ts index e3e5497..e6f325f 100644 --- a/server/api/playlists.ts +++ b/server/api/playlists.ts @@ -2,7 +2,7 @@ import fs from 'fs' import path from 'path' export default eventHandler(async (event) => { - const directoryPath = path.join(process.cwd(), '/app/media/files/music') // replace 'your-folder' with the folder you want to list + const directoryPath = path.join(process.cwd(), 'media/files/music') // replace 'your-folder' with the folder you want to list try { // Read the directory contents