joostfarla / serverless-cors-plugin

Serverless CORS Plugin - Managing Cross-origin resource sharing (CORS) policies
ISC License
70 stars 15 forks source link

OPTIONS mock type #14

Closed Alua-Kinzhebayeva closed 8 years ago

Alua-Kinzhebayeva commented 8 years ago

Is there any reason for not having OPTIONS created with Mock endpoint? Is it on the RoadMap or there is technical issue with that? Really sorry about asking it, I remember some discussions in gitter, but totally forgot the outcome of them.

Alua-Kinzhebayeva commented 8 years ago

I see type: 'MOCK' in the source code. That is strange then that all our OPTIONS have lambda integrated.

joostfarla commented 8 years ago

@Alua-Kinzhebayeva Thanks for reporting!

This actually was broken since the Serverless v0.4 update. Just implemented a workaround and released v0.3.1!

Alua-Kinzhebayeva commented 8 years ago

@joostfarla that is totally awesome! thanks for the release! It is such a huge relief.