瀏覽代碼

Merge branch 'master' of http://139.162.7.140:3000/herlanS_/ipphone-bridge

# Conflicts:
#	pom.xml
herlanS_ 4 年之前
父節點
當前提交
9c8f31622f
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/BridgeFIlter.kt

+ 1 - 5
src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/BridgeFIlter.kt

@@ -76,11 +76,7 @@ class BridgeFilter(private val template: SimpMessagingTemplate, val resourceLoad
                 res.sendRedirect("/resources/$search")
             } else {
                 println("client $client")
-                println("path $toPath")
-
-//        req.parameterMap.entries.forEach {
-//            println(it.key + " : " + it.value.joinToString(", "))
-//        }
+                println("path " + req.requestURL.toString() + "?" + req.queryString)
 
                 val headerMap = req.headerNames.toList().associateBy({ it }, { req.getHeader(it) })
                 val body = req.reader.lines().toList().joinToString(System.lineSeparator())