From 735d011a6cccf94eebe8bed1a6f539828a7b75e6 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 30 Apr 2020 12:33:10 +0200 Subject: Cache control: no caching for blog index --- response.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'response.cpp') diff --git a/response.cpp b/response.cpp index 1752466..f89e9e4 100644 --- a/response.cpp +++ b/response.cpp @@ -85,9 +85,9 @@ std::unordered_map> GetServerPa {"ipv6", [](Server& server) { return is_ipv6_address(server.GetSocket().address) ? "yes" : "no"; }}, {"port", [](Server& server) { return server.GetSocket().port; }}, {"statistics", [](Server& server) { return server.GetStatistics().getValues(); }}, - {"version", [](Server& server) { return Server::VersionString; }}, {"uptime_host", [](Server& server) { return OS::uptime_host(); }}, {"uptime_webserver", [](Server& server) { return OS::uptime_process(); }}, + {"version", [](Server& server) { return Server::VersionString; }}, }; std::string GetServerParam(const std::string& key, Server& server) -- cgit v1.2.3