summaryrefslogtreecommitdiffhomepage
path: root/response.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'response.cpp')
-rw-r--r--response.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string, std::function<std::string(Server&)>> 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)