mirror of
https://github.com/fmhy/edit.git
synced 2026-01-21 19:31:14 +11:00
feat: reorganize repo
This commit is contained in:
parent
49eb39bc1f
commit
23389c69df
107 changed files with 15 additions and 429 deletions
11
api/middleware/cors.ts
Normal file
11
api/middleware/cors.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { corsEventHandler } from 'nitro-cors'
|
||||
|
||||
export default corsEventHandler(
|
||||
(_event) => {
|
||||
/** no-op */
|
||||
},
|
||||
{
|
||||
origin: '*',
|
||||
methods: '*'
|
||||
}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue