vite-plugin-mock icon indicating copy to clipboard operation
vite-plugin-mock copied to clipboard

修正CORS选项:在未显式指定CORS选项的情况下默认不开启CORS支持

Open edgesite opened this issue 1 year ago • 0 comments

PR#106 增加了 CORS 支持,但是判断条件有点问题,会导致默认打开 CORS 支持。本 PR 修正了该问题和 CORS 头的类型问题。

edgesite avatar Aug 25 '24 11:08 edgesite