nfroidure / whook

Build strong and efficient REST web services.
https://slides.com/nfroidure/introducing-whook
MIT License
31 stars 6 forks source link

fix(cors): fix only getter on headers #142

Closed Oupsla closed 1 year ago

Oupsla commented 2 years ago

The isGetter function was not enough, and still could lead to error in production (and the real error was masked by this error or getter). Seems fine with the try/catch

nfroidure commented 1 year ago

Closing on favor of https://github.com/nfroidure/whook/pull/145