This commit is contained in:
maropboia 2024-05-03 11:38:42 +06:00
parent 2d0c2cdd47
commit dba89fae95

View file

@ -1,8 +1,7 @@
// This is a default export of an event handler function that returns an object with a "nitro" property set to "works".
// This is a server-side event handler function that exports a default object with a "nitro" property.
// The function does not take any arguments and does not perform any asynchronous operations.
// It is likely used in a server-side context, such as in a Nuxt.js application, to handle a specific event and return a response.
// It is likely used in a Nuxt.js application, to handle a specific event and return a response.
export default eventHandler(() => {
export default function eventHandler() {
return { nitro: 'works' }
})
}