diff options
| author | Per Larsson <[email protected]> | 2021-10-01 15:45:57 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-10-01 15:45:57 +0200 |
| commit | bf9abfda914d2619c30df3ab6c7904fb87c93901 (patch) | |
| tree | cc9a4ba8473b8f2202964f6653c9471d7752bed4 /zenhttp/httpserver.cpp | |
| parent | Added cache HIT/MISS stat counters. (diff) | |
| download | zen-bf9abfda914d2619c30df3ab6c7904fb87c93901.tar.xz zen-bf9abfda914d2619c30df3ab6c7904fb87c93901.zip | |
Added simple stats HTML dashboard with route /dashboard.
Diffstat (limited to 'zenhttp/httpserver.cpp')
| -rw-r--r-- | zenhttp/httpserver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zenhttp/httpserver.cpp b/zenhttp/httpserver.cpp index 8e5d61877..cfd1463ba 100644 --- a/zenhttp/httpserver.cpp +++ b/zenhttp/httpserver.cpp @@ -58,6 +58,9 @@ MapContentTypeToString(HttpContentType ContentType) case HttpContentType::kYAML: return "text/yaml"sv; + + case HttpContentType::kHTML: + return "text/html"sv; } } |