qswiki/handlers/handlerversion.cpp

10 rader
232 B
C++
Normal vy Historik

#include "handlerversion.h"
#include "../version.h"
Response HandlerVersion::handleRequest(const Request &r)
{
Response response;
response.setContentType("text/plain");
response.setBody(get_version_string());
return response;
}