Skip to content

Commit 331615a

Browse files
committed
fixa compleir issue
1 parent 32cbdd3 commit 331615a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/example/ConnectionHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ public void runConnectionHandler() throws IOException {
8282
return;
8383
}
8484

85-
// Sanitize URI here (clean it)
86-
String sanitizedUri = sanitizeUri(parser.getUri());
87-
String cacheKey = "www:" + sanitizedUri;
85+
// Let StaticFileHandler handle everything
86+
StaticFileHandler sfh = new StaticFileHandler();
87+
sfh.sendGetRequest(client.getOutputStream(), parser.getUri());
8888
}
8989

9090
private String sanitizeUri(String uri) {

0 commit comments

Comments
 (0)