feat: autoindex style

This commit is contained in:
3lswear
2022-02-06 23:11:02 +03:00
parent 90d14b3235
commit 705af65bcc

View File

@@ -14,6 +14,9 @@ std::string Autoindex::getPage(std::string path, std::string allpath, std::strin
<html>\n\
<head>\n\
<title>" + allpath + "</title>\n\
<style>\n\
p {font-family: monospace; font-size: 1.5em;}\n\
</style>\n\
</head>\n\
<body>\n\
<h1>" + allpath + "</h1>\n\
@@ -48,4 +51,4 @@ std::string Autoindex::getReference(std::string file, std::string dir, std::stri
Autoindex::~Autoindex()
{
}
}