summaryrefslogtreecommitdiffhomepage
path: root/plugins/cgi
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-05-08 12:49:10 +0200
committerRoland Reichwein <mail@reichwein.it>2020-05-08 12:49:10 +0200
commit1763484f9e883f86e12d0ec5b0cb89c8569fc36f (patch)
tree1c375e68b79a774035f86ce0f9a1215677b8aaf0 /plugins/cgi
parent056b7a5063e9b82025b51774b19ee531089e580b (diff)
Minor fixes
Diffstat (limited to 'plugins/cgi')
-rw-r--r--plugins/cgi/cgi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cgi/cgi.cpp b/plugins/cgi/cgi.cpp
index 75e401e..0824d67 100644
--- a/plugins/cgi/cgi.cpp
+++ b/plugins/cgi/cgi.cpp
@@ -56,7 +56,7 @@ namespace {
return std::string{};
return path.string().substr(pos);
}();
- if(iequals(ext, ".htm")) return "text/html"; // TODO: unordered_map
+ if(iequals(ext, ".htm")) return "text/html";
if(iequals(ext, ".html")) return "text/html";
if(iequals(ext, ".php")) return "text/html";
if(iequals(ext, ".css")) return "text/css";