mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +03:00
feat: autoindex style
This commit is contained in:
@@ -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()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user