mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug #1341
This commit is contained in:
@@ -2,7 +2,6 @@ package cn.hutool.http.server.action;
|
||||
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.http.server.HttpServerRequest;
|
||||
import cn.hutool.http.server.HttpServerResponse;
|
||||
|
||||
@@ -80,7 +79,6 @@ public class RootAction implements Action {
|
||||
}
|
||||
}
|
||||
|
||||
Console.log(file.getAbsolutePath());
|
||||
response.send404("404 Not Found !");
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* {@link com.sun.net.httpserver.HttpServer} 封装
|
||||
*
|
||||
* @author looly
|
||||
*/
|
||||
package cn.hutool.http.server.action;
|
Reference in New Issue
Block a user