add folder for playlists api
All checks were successful
Deploy App / build (push) Successful in 1m8s
Deploy App / deploy (push) Successful in 16s

This commit is contained in:
valere
2025-10-04 01:08:14 +02:00
parent 96ffb4b10a
commit 22358b3ebb
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ services:
working_dir: /app
ports:
- "${PORT}:${PORT_EXPOSED}"
volumes:
- $MEDIA_DIR:/mnt/media
environment:
VIRTUAL_HOST: "${DOMAIN}"
LETSENCRYPT_HOST: "${DOMAIN}"

View File

@@ -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