I wonder if anyone has been able to get Cors working with fasthttp or if there's a module for it (although I couldn't find one).
There is one middleware for Echo v2:
Echo Cors
And another one for Iris:
Iris Cors
They are pretty similar to https://github.com/rs/cors
@hexadecy Good to know: Iris' cors is rs/cors for fasthttp as noted in the first line
Added question label to the issue, so it could be located via the link in the last FAQ entry on README.md.
Closing the issue, since there are no plans for adding Cors support directly into fasthttp.
If anyone is looking for a well tested and pure fasthttp middleware, there's lab259/cors (which is a fork of rs/cors targetting fasthttp).
If anyone is looking for a well tested and pure fasthttp middleware, there's lab259/cors (which is a fork of rs/cors targetting fasthttp).
cool, I like it.
Most helpful comment
If anyone is looking for a well tested and pure fasthttp middleware, there's lab259/cors (which is a fork of rs/cors targetting fasthttp).