mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
add Autoindex
This commit is contained in:
20
includes/Autoindex.hpp
Normal file
20
includes/Autoindex.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef AUTOINDEX_HPP
|
||||
#define AUTOINDEX_HPP
|
||||
|
||||
#include "webserv.hpp"
|
||||
|
||||
class Autoindex
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
Autoindex();
|
||||
static std::string getPage(std::string path, std::string host);
|
||||
static std::string getReference(std::string file, std::string dir, std::string host);
|
||||
~Autoindex();
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user