Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Grekkq committed Oct 17, 2023
1 parent ee25c33 commit 8cfa0e3
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
package com.ing.wbaa.rokku.proxy.api.directive

import akka.http.scaladsl.model._
import akka.http.scaladsl.model.headers.{ RawHeader, `Access-Control-Allow-Origin`, `Raw-Request-URI` }
import akka.http.scaladsl.server.{ Directive, Directive0, Directive1 }
import akka.http.scaladsl.model.headers.RawHeader
import akka.http.scaladsl.model.headers.`Access-Control-Allow-Origin`
import akka.http.scaladsl.model.headers.`Raw-Request-URI`
import akka.http.scaladsl.server.Directive
import akka.http.scaladsl.server.Directive0
import akka.http.scaladsl.server.Directive1
import com.ing.wbaa.rokku.proxy.data._
import com.ing.wbaa.rokku.proxy.metrics.MetricsFactory
import com.ing.wbaa.rokku.proxy.provider.aws.SignatureHelpersCommon._
Expand Down Expand Up @@ -235,6 +239,7 @@ object ProxyDirectives extends LazyLogging {
RawHeader("Access-Control-Allow-Headers", "*")) ++ oldHeaders
}
} else {
logger.info("Wont add cors, request: {}", request)
pass
}
}
Expand Down

0 comments on commit 8cfa0e3

Please sign in to comment.