File tree Expand file tree Collapse file tree
admin/src/main/scala/com/neu Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ trait Api extends Directives with CoreActors with Core {
4242
4343 private val managerPathPrefix : Option [String ] =
4444 sys.env.get(" PATH_PREFIX" ).map(_.trim).filter(_.nonEmpty)
45- private final val timeOutStatus = " Status: 408"
46- private final val authenticationFailedStatus = " Status: 401"
47- private final val serverErrorStatus = " Status: 503"
45+ private final val timeOutStatus = " Status: 408"
46+ private final val authenticationFailedStatus = " Status: 401"
47+ private final val serverErrorStatus = " Status: 503"
4848
4949 implicit def exceptionHandler : ExceptionHandler =
5050 ExceptionHandler {
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ import org.apache.pekko.http.scaladsl.server.Directives
1616import org .apache .pekko .http .scaladsl .server .Route
1717
1818trait StaticResources extends Directives with LazyLogging {
19- private val shortPath = 10
20- private val isUsingSSL : Boolean = sys.env.getOrElse(" MANAGER_SSL" , " on" ) == " on"
21- private val isDev : Boolean = sys.env.getOrElse(" IS_DEV" , " false" ) == " true"
19+ private val shortPath = 10
20+ private val isUsingSSL : Boolean = sys.env.getOrElse(" MANAGER_SSL" , " on" ) == " on"
21+ private val isDev : Boolean = sys.env.getOrElse(" IS_DEV" , " false" ) == " true"
2222 private val managerPathPrefix : Option [String ] =
2323 sys.env.get(" PATH_PREFIX" ).map(_.trim).filter(_.nonEmpty)
2424
You can’t perform that action at this time.
0 commit comments