Hello guys, I'd like to setup CORS in Ktor server ...
# ktor
r
Hello guys, I'd like to setup CORS in Ktor server to match every of our product, which would be xxx.ourname.com and xxx.ourname.pl. I cannot find any way to set CORS by regex / predicate, only hardcoded strings. How can I do it?
r
It’s not supported in 1.6.x, but in 2.0 you can use
host(*.<http://ourname.com|ourname.com>)