add folder for playlists api
This commit is contained in:
@@ -3,7 +3,7 @@ import path from 'path'
|
||||
import { eventHandler } from 'h3'
|
||||
|
||||
export default eventHandler(async (event) => {
|
||||
const directoryPath = path.join(process.cwd(), 'media/files/music')
|
||||
const directoryPath = path.join(process.cwd(), '/media/files/music')
|
||||
|
||||
try {
|
||||
// Read the directory contents
|
||||
|
||||
Reference in New Issue
Block a user