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:
Felix Kauselmann
2020-07-30 12:33:13 +02:00
parent f8a00605c5
commit 1b344d70e5
73 changed files with 249 additions and 247 deletions

View File

@ -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;
}
}
}