refactor: modify ping handler to return an object with body property

This commit is contained in:
2025-11-12 16:46:02 +01:00
parent fecf990810
commit 4f08671a88

View File

@@ -1 +1,5 @@
export default eventHandler(() => 'pong')
export default eventHandler(() => {
return {
body: 'pong'
}
})