ktor-server-core / io.ktor.features / CORS / Configuration / host

host

fun host(host: String, schemes: List<String> = listOf("http"), subDomains: List<String> = emptyList()): Unit

Allow requests from the specified domains and schemes