FMHYedit/.vitepress/middleware/cors.ts

7 lines
133 B
TypeScript
Raw Normal View History

2023-11-12 16:42:57 +00:00
import { corsEventHandler } from "nitro-cors";
export default corsEventHandler((_event) => {}, {
origin: "*",
methods: "*",
});