🔨」 fix: fixed small errors (path not being correctly used, whole program always being 501 cuz why not is not doing that anymore btw)

This commit is contained in:
yosyo
2025-07-07 19:07:29 +02:00
parent 954574b43a
commit debb2301c5
6 changed files with 96 additions and 22 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/03 17:23:00 by mmoussou #+# #+# */
/* Updated: 2025/05/30 16:08:13 by adjoly ### ########.fr */
/* Updated: 2025/07/05 16:42:39 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -57,9 +57,9 @@ class ARequest : public http::IMessage {
void setRoute(config::Route *route);
void setSrv(config::Server *srv);
std::string _target;
protected:
std::string _method;
std::string _target;
std::string _protocol;
webserv::config::Route *_route;
config::Server * _srv;