allowOrigins

fun allowOrigins(predicate: (String) -> Boolean)

Allows using an origin matching predicate for the actual CORS request.