mirror of
https://github.com/matrix-construct/construct
synced 2024-06-02 18:18:56 +02:00
modules/web_root: Return non-throwing 404 here.
This commit is contained in:
parent
6e879f1845
commit
1c51153526
|
@ -215,7 +215,10 @@ try
|
||||||
};
|
};
|
||||||
|
|
||||||
if(it == end(files))
|
if(it == end(files))
|
||||||
throw http::error{http::NOT_FOUND};
|
return resource::response
|
||||||
|
{
|
||||||
|
client, http::NOT_FOUND
|
||||||
|
};
|
||||||
|
|
||||||
const auto &file_name
|
const auto &file_name
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue