FMHYedit/.vitepress/middleware/cors.ts

7 lines
134 B
TypeScript
Raw Normal View History

2023-11-06 05:45:08 +00:00
import { corsEventHandler } from "nitro-cors";
export default corsEventHandler((_event) => { }, {
origin: "*",
methods: "*",
});