From a399dc449dc962c088c2cacbc4c32d503ced816f Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 04 十二月 2024 18:58:41 +0800 Subject: [PATCH] 2024年12月04日18:58:39 --- app/src/main/java/com/hdl/photovoltaic/internet/HttpServer/MyNanoHttpServer.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/internet/HttpServer/MyNanoHttpServer.java b/app/src/main/java/com/hdl/photovoltaic/internet/HttpServer/MyNanoHttpServer.java index e85256e..3cc1df8 100644 --- a/app/src/main/java/com/hdl/photovoltaic/internet/HttpServer/MyNanoHttpServer.java +++ b/app/src/main/java/com/hdl/photovoltaic/internet/HttpServer/MyNanoHttpServer.java @@ -25,7 +25,7 @@ public class MyNanoHttpServer extends NanoHTTPD { //澹版槑鏈嶅姟绔� 绔彛 - public static final Integer HTTP_PORT = 49152; + public static Integer HTTP_PORT = 49152;// 46219; public MyNanoHttpServer(String hostname, int port) { super(hostname, port); @@ -119,7 +119,7 @@ //鍝嶅簲瀹㈡埛绔� Response response = newFixedLengthResponse(newByte); response.addHeader("Content-Range", range + "/" + sourceDataByte.length);//浼熷崡闇�瑕佽繖涓瓧娈� - HdlLogLogic.print("http鍥炲鏁版嵁===璇锋眰澶у皬-->" + range + "=====鏂囦欢澶у皬-->" + sourceDataByte.length, true); + HdlLogLogic.print("http鍥炲鏁版嵁===璇锋眰澶у皬--" + range + "=====鏂囦欢澶у皬--" + sourceDataByte.length, true); return response; } } -- Gitblit v1.8.0