I mean that in my example part:
void index(HTTPServerRequest req, HTTPServerResponse res)
{
res.redirect("/index.html");
}
do not work. It's redirect to index.html URL, but not open file (404 error).
What I should to add in this block of code to get it's open index page, that located in public folder.