mirror of
https://github.com/KeyZox71/webserv.git
synced 2026-10-16 06:10:07 +02:00
「🔨」 fix: removed cookie toggle in config not usefull anymore
This commit is contained in:
1 parent
1537cf59ac
commit
9423123363
2 files changed
+8
-8
No files matched your search
@@ -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