Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fzdwx committed May 30, 2022
1 parent 4250737 commit a998d79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void handle(final HttpServerRequest request, final HttpServerResponse res
}

if (file.isDirectory()) {
if (uri.endsWith("/")) {
if (uri.endsWith(StringPool.SLASH)) {
final String html = getFileListing(file, uri);
response.html(html);
} else {
Expand Down

0 comments on commit a998d79

Please sign in to comment.