I need to do this because I tried to host swagger externally and I set Cors and even added the jwt header but when I add the jwt header and send a request with kotlin the browser sends an OPTION request for a pre-flight check which gets a 404. I don't want to have to add routes for each API and decided it may be easier to serve the static swagger content myself which is what I am trying to do.