diff options
author | Jakob Odersky <jakob@driver.xyz> | 2018-09-11 13:35:03 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@driver.xyz> | 2018-09-12 14:17:39 -0700 |
commit | 8a21ee2028b5f11fe0b9148078b49e4000937202 (patch) | |
tree | 3a17b99676e729988ca41ba61199b33d2afbbcbe /src/main/scala/xyz/driver/core/app/DriverApp.scala | |
parent | 8b2cd70a7189775cb23dafbbd3670b8050dd28dc (diff) | |
download | driver-core-8a21ee2028b5f11fe0b9148078b49e4000937202.tar.gz driver-core-8a21ee2028b5f11fe0b9148078b49e4000937202.tar.bz2 driver-core-8a21ee2028b5f11fe0b9148078b49e4000937202.zip |
Rearchitect reporting stack to mixin-based structure
Diffstat (limited to 'src/main/scala/xyz/driver/core/app/DriverApp.scala')
-rw-r--r-- | src/main/scala/xyz/driver/core/app/DriverApp.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/core/app/DriverApp.scala b/src/main/scala/xyz/driver/core/app/DriverApp.scala index 50e471c..03da72b 100644 --- a/src/main/scala/xyz/driver/core/app/DriverApp.scala +++ b/src/main/scala/xyz/driver/core/app/DriverApp.scala @@ -91,8 +91,7 @@ class DriverApp( def route: Route = versionRt ~ healthRoute } val combinedRoute = - Route.seal( - modules.map(_.route).foldLeft(basicRoutes.routeWithDefaults)(_ ~ _) ~ swaggerRoute.route ~ defaultOptionsRoute) + Route.seal(modules.map(_.route).foldLeft(basicRoutes.routeWithDefaults)(_ ~ _) ~ swaggerRoute.route) (extractHost & extractClientIP & trace(tracer) & handleRejections(authenticationRejectionHandler)) { case (origin, ip) => ctx => |