FMHYedit/api/middleware/cors.ts

7 lines
130 B
TypeScript
Raw Permalink Normal View History

2024-01-25 16:32:45 +00:00
import { corsEventHandler } from 'nitro-cors'
2023-11-12 16:42:57 +00:00
export default corsEventHandler((_event) => {}, {
2024-01-25 16:32:45 +00:00
origin: '*',
methods: '*'
})