mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-06-25 09:33:36 +02:00
「🔨」 fix: removed cookie toggle in config not usefull anymore
This commit is contained in:
@ -81,11 +81,11 @@ Route::Route(toml::ANode *table)
|
||||
_dirlist = *static_cast<bool *>(val);
|
||||
else
|
||||
_dirlist = true;
|
||||
val = accessValue("cookies", toml::BOOL, _table, _log);
|
||||
if (val != not_nullptr)
|
||||
_cookies = *static_cast<bool *>(val);
|
||||
else
|
||||
_cookies = false;
|
||||
/* val = accessValue("cookies", toml::BOOL, _table, _log); */
|
||||
/* if (val != not_nullptr) */
|
||||
/* _cookies = *static_cast<bool *>(val); */
|
||||
/* else */
|
||||
/* _cookies = false; */
|
||||
val = accessValue("upload_path", toml::STRING, _table, _log);
|
||||
if (val != not_nullptr)
|
||||
_up_root = *static_cast<std::string *>(val);
|
||||
|
Reference in New Issue
Block a user