Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/io/harness/jhttp/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void main(String[] args) throws IOException, ParseException {
displayUsage(options);
return;
}

final int port = getIntValue(cmdLine, 'p', DEFAULT_PORT);
final int threadPoolSize = getIntValue(cmdLine, 't', DEFAULT_THREAD_POOL_SIZE);
final String serverRoot = getValue(cmdLine, 'r', DEFAULT_SERVER_ROOT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public boolean process(HttpRequest request, HttpResponse response) {

private void appendLink(String fileName, String uri, PrintWriter writer) {
// writer.append(String.format("<li>\n<a href=\"%s/%s\">%s</a>\n</li>\n", uri, fileName, fileName));
writer.append(String.format("<li style='list-style-type:circle; padding:4px; background:#ff9230;'>\n<a href=\"%s/%s\">%s</a>\n</li>\n", uri, fileName, fileName));
writer.append(String.format("<li style='list-style-type:circle; padding:4px; background:#ff9112;'>\n<a href=\"%s/%s\">%s</a>\n</li>\n", uri, fileName, fileName));
// writer.append(String.format("<li style='list-style-type:circle; padding:4px; background:yellow;'>\n<a href=\"%s/%s\">%s</a>\n</li>\n", uri, fileName, fileName));

}
Expand Down