implementation("io.ktor:ktor-server-cors:3.2.1")
Enables configuration of cross-origin resource sharing (CORS) policies, specifying allowed hosts, HTTP methods, and headers.