FMHYedit/.vitepress/middleware/cors.ts

7 lines
133 B
TypeScript
Raw Permalink Normal View History

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