Remove cors handler for all requests (#3736)

This commit is contained in:
Chris Stewart 2021-10-07 14:55:24 -05:00 committed by GitHub
parent 1b88d26095
commit d912665067
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,8 +18,7 @@ case class Server(
handlers: Seq[ServerRoute],
rpcbindOpt: Option[String],
rpcport: Int)(implicit system: ActorSystem)
extends HttpLogger
with CORSHandler {
extends HttpLogger {
import system.dispatcher
@ -55,7 +54,7 @@ case class Server(
handleRejections(rejectionHandler) {
handleExceptions(exceptionHandler) {
corsHandler(route)
route
}
}
}