From 52006194843eb584820c2da44b443b862d81cf52 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 29 Sep 2020 08:15:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/web/WebSocketServer.kt | 1 + .../java/io/legado/app/web/{ => utils}/SourceDebugWebSocket.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename app/src/main/java/io/legado/app/web/{ => utils}/SourceDebugWebSocket.kt (98%) diff --git a/app/src/main/java/io/legado/app/web/WebSocketServer.kt b/app/src/main/java/io/legado/app/web/WebSocketServer.kt index d6a259687..a32b5f2a3 100644 --- a/app/src/main/java/io/legado/app/web/WebSocketServer.kt +++ b/app/src/main/java/io/legado/app/web/WebSocketServer.kt @@ -1,6 +1,7 @@ package io.legado.app.web import fi.iki.elonen.NanoWSD +import io.legado.app.web.utils.SourceDebugWebSocket class WebSocketServer(port: Int) : NanoWSD(port) { diff --git a/app/src/main/java/io/legado/app/web/SourceDebugWebSocket.kt b/app/src/main/java/io/legado/app/web/utils/SourceDebugWebSocket.kt similarity index 98% rename from app/src/main/java/io/legado/app/web/SourceDebugWebSocket.kt rename to app/src/main/java/io/legado/app/web/utils/SourceDebugWebSocket.kt index 0a3fab8ef..340259b26 100644 --- a/app/src/main/java/io/legado/app/web/SourceDebugWebSocket.kt +++ b/app/src/main/java/io/legado/app/web/utils/SourceDebugWebSocket.kt @@ -1,4 +1,4 @@ -package io.legado.app.web +package io.legado.app.web.utils import fi.iki.elonen.NanoHTTPD