mirror of
https://github.com/fmhy/edit.git
synced 2026-02-18 01:01:23 +11:00
improve
This commit is contained in:
parent
2d0c2cdd47
commit
dba89fae95
1 changed files with 4 additions and 5 deletions
|
|
@ -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' }
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue