mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-10 21:18:46 +02:00
「🏗️」 wip: passed _log to a global pointer
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/03/19 14:59:41 by adjoly #+# #+# */
|
||||
/* Updated: 2025/03/26 08:31:41 by adjoly ### ########.fr */
|
||||
/* Updated: 2025/04/18 10:05:22 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -26,7 +26,7 @@ namespace config {
|
||||
|
||||
class Route {
|
||||
public:
|
||||
Route(toml::ANode *, Logger *);
|
||||
Route(toml::ANode *);
|
||||
~Route(void);
|
||||
|
||||
protected:
|
||||
@ -42,8 +42,6 @@ class Route {
|
||||
std::string _index;
|
||||
std::map<std::string, std::string> *_cgi;
|
||||
|
||||
Logger *_log;
|
||||
|
||||
bool _methods[3]; ///> A methods boolean array which correspond to - 0: GET,
|
||||
///1: POST, 2: DELETE
|
||||
toml::ANode *_table;
|
||||
|
Reference in New Issue
Block a user