swagger-server icon indicating copy to clipboard operation
swagger-server copied to clipboard

cant call HTTP OPTIONS

Open junejie opened this issue 8 years ago • 0 comments

I tried a different way to access the HTTP OPTIONS method in my own middleware but i have no luck.

It only works as expected when i remove the corsPreflight in line23 file cors.js. Im using swagger-server-1.0.0-alpha.18

junejie avatar Aug 23 '16 19:08 junejie