1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Web API: resources and static file controller updates

This commit is contained in:
f4exb
2017-11-22 00:28:26 +01:00
parent cf2f099c37
commit e7dc0f9b53
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -143,6 +143,7 @@ void StaticFileController::service(QByteArray& path, HttpResponse& response)
}
else
{
qWarning("StaticFileController: File %s not found",qPrintable(file.fileName()));
response.setStatus(404,"not found");
response.write("404 not found",true);
}