「🔨」 fix: removed cookie toggle in config not usefull anymore

This commit is contained in:
KeyZox committed 2025-05-04 13:58:19 +02:00
1 parent 1537cf59ac
commit 9423123363
2 files changed
+8 -8

No files matched your search

+5 -5
View File
@@ -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);