mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Update server code integration for QtWebApp 1.7.11
- Adapt server code for QtWebapp namespace 'stefanfrings' - Implement custom modifications needed by v1 controller via template engine - Unify iphone and ipad templates
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
#include "template.h"
|
||||
#include "../static.h"
|
||||
|
||||
using stefanfrings::HttpRequest;
|
||||
using stefanfrings::HttpResponse;
|
||||
|
||||
ErrorController::ErrorController(int errorCode)
|
||||
: error(errorCode)
|
||||
{
|
||||
@ -21,4 +24,4 @@ void ErrorController::service(HttpRequest &request, HttpResponse &response)
|
||||
response.write("404 not found", true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user