3 Ревизии e94c455eb4 ... 59e52798bf

Автор SHA1 Съобщение Дата
  herlanS_ 59e52798bf 5 digit bridge преди 2 години
  herlanS_ af6370f62b delete health преди 2 години
  herlanS_ 943425628a health file must be included преди 2 години
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/BridgeFIlter.kt

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

@@ -68,7 +68,7 @@ class BridgeFilter(private val template: SimpMessagingTemplate, val resourceLoad
         val client = splitPath[1]
         val toPath = "/" + splitPath.takeLast(splitPath.size - 1).joinToString("/")
         val clientNumber = client.toIntOrNull()
-        if (clientNumber != null && clientNumber > 0 && clientNumber <= 999) {
+        if (clientNumber != null && clientNumber > 0 && clientNumber <= 99999) {
             val search = isResourceAvailable(toPath)
             if (search != null && !search.endsWith("assets/bootstrap.js")) {
                 res.sendRedirect("/resources/$search")