web调试不输出源码

pull/946/head
gedoor 4 years ago
parent 094be3725f
commit 529cd31ef1
  1. 3
      app/src/main/java/io/legado/app/web/SourceDebugWebSocket.kt

@ -77,6 +77,9 @@ class SourceDebugWebSocket(handshakeRequest: NanoHTTPD.IHTTPSession) :
}
override fun printLog(state: Int, msg: String) {
if (state in arrayOf(10, 20, 30, 40)) {
return
}
runOnIO {
runCatching {
send(msg)

Loading…
Cancel
Save