.
This commit is contained in:
@@ -107,7 +107,7 @@ void Server::handle_connection(int client_socket) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (path == "/index.html") {
|
||||
if (path == "/index.html" || path == "/") {
|
||||
send_response(client_socket, 200, "text/html",
|
||||
"<html><body><h1>Dropshell Template Registry</h1></body></html>");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user