https://kotlinlang.org logo
#ktor
Title
# ktor
r

Rafał Kuźmiński

12/13/2023, 12:42 PM
Hello. I need to configure CORS dynamically (using admin panel / db). Is this possible? I see that "CORS" configuration is called only once, not for every request
a

Aleksei Tirman [JB]

12/13/2023, 1:25 PM
What settings do you want to configure of the CORS plugin?
r

Rafał Kuźmiński

12/13/2023, 2:01 PM
I want to add or remove hosts
a

Aleksei Tirman [JB]

12/13/2023, 2:18 PM
Unfortunately, that's not possible because the hosts are cached in the configuration phase.
2 Views