0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-20 03:43:47 +02:00

modules/web_root: Return non-throwing 404 here.

This commit is contained in:
Jason Volk 2020-10-05 20:09:21 -07:00
parent 6e879f1845
commit 1c51153526

View file

@ -215,7 +215,10 @@ try
};
if(it == end(files))
throw http::error{http::NOT_FOUND};
return resource::response
{
client, http::NOT_FOUND
};
const auto &file_name
{