mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 13:25:49 +01:00
Remove cors handler for all requests (#3736)
This commit is contained in:
parent
1b88d26095
commit
d912665067
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue