Now it won't matter whether the given path has a slash at the end of not for FileCache.

This commit is contained in:
Relintai 2022-02-06 09:59:38 +01:00
parent 6d6735717b
commit 5b9004db22

View File

@ -21,6 +21,8 @@ void FileCache::wwwroot_refresh_cache() {
registered_files.clear(); registered_files.clear();
wwwroot.path_clean_end_slash();
wwwroot_evaluate_dir(wwwroot.c_str()); wwwroot_evaluate_dir(wwwroot.c_str());
_lock.write_unlock(); _lock.write_unlock();