createCors is not a function, difference between doc example and code
Closed this issue · 1 comments
foufrix commented
Hi, after trying this example
It gives me an error message stating, createCors is not a function,
which suggests that no createCors
function is exported.
After looking at issue #21 I saw that cors()
should be used.
Either update the doc or the code, don't know which variable you want to keep :D
Thank you for the package!
EDIT:
After looking in depth saw that it's due to v4 to v5 migration