[Vuejs]-'Blocked by CORS policy', but Header is present

0๐Ÿ‘

โœ…

I fixed my issue. I read the docs of fasthttp another time and figured out that the ctx.Error() method clears all headers. Instead I am now setting the response code and error message manually and everything works fine.

Leave a comment