FMHYedit/.vitepress/middleware/cors.ts
2024-01-25 16:32:45 +00:00

7 lines
130 B
TypeScript

import { corsEventHandler } from 'nitro-cors'
export default corsEventHandler((_event) => {}, {
origin: '*',
methods: '*'
})