mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +11:00
chore: linting
This commit is contained in:
parent
9f39e9663d
commit
048fa9e4a8
8 changed files with 35 additions and 49 deletions
|
|
@ -1,6 +1,11 @@
|
|||
import { corsEventHandler } from 'nitro-cors'
|
||||
|
||||
export default corsEventHandler((_event) => {}, {
|
||||
origin: '*',
|
||||
methods: '*'
|
||||
})
|
||||
export default corsEventHandler(
|
||||
(_event) => {
|
||||
/** no-op */
|
||||
},
|
||||
{
|
||||
origin: '*',
|
||||
methods: '*'
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue