autoindex in progress but need to check stuff on master branch

This commit is contained in:
Me
2022-08-07 20:37:53 +02:00
parent 4870b2c05d
commit f777441edf
9 changed files with 90 additions and 69 deletions

View File

@@ -29,6 +29,7 @@
# include "ServerConfig.hpp"
# include "utils.hpp"
# include "http_status.hpp"
# include "autoindex.hpp"
extern bool g_run;
extern int g_last_signal;
@@ -83,7 +84,7 @@ class Webserv
void _get(Client *client, ServerConfig &server, LocationConfig &location);
// in progress
void _autoindex(Client *client, std::string &path);
void _autoindex(Client *client, LocationConfig &location, std::string &path);
void _get_file(Client *client, const std::string &path);