anybody know what origins are enabled by default w...
# ktor
p
anybody know what origins are enabled by default when one does
Copy code
install(CORS)
?
b
According to the implementation, it should default to the same origin as host name of the server. https://github.com/ktorio/ktor/blob/43b8efeb6d1bf568359212afb3f862532cff3976/ktor-server/ktor-server-core/jvm/src/io/ktor/features/CORS.kt#L270
p
I see, thanks!