FMHYedit/.vitepress/middleware/cors.ts
2024-07-10 04:05:54 +00:00

12 lines
162 B
TypeScript

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