server fix: import eventHandler
All checks were successful
Deploy App / build (push) Successful in 49s
Deploy App / test (push) Successful in 50s
Deploy App / deploy (push) Successful in 1m33s

This commit is contained in:
valere
2025-09-18 12:58:10 +02:00
parent c92f16c73c
commit 16813bf1de
5 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
import { eventHandler } from 'h3'
export default eventHandler(() => {
return [
{

View File

@@ -1,3 +1,5 @@
import { eventHandler } from 'h3'
export default eventHandler(() => {
return [
{

View File

@@ -1,5 +1,6 @@
import fs from 'fs'
import path from 'path'
import { eventHandler } from 'h3'
export default eventHandler(async (event) => {
const id = event.context.params?.id || ''

View File

@@ -1,5 +1,6 @@
import fs from 'fs'
import path from 'path'
import { eventHandler } from 'h3'
export default eventHandler(async (event) => {
const directoryPath = path.join(process.cwd(), 'media/files/music')

View File

@@ -1,3 +1,5 @@
import { eventHandler } from 'h3'
export default eventHandler(() => {
return [
{