summaryrefslogtreecommitdiffhomepage
path: root/plugins/static-files
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/static-files')
-rw-r--r--plugins/static-files/static-files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/static-files/static-files.cpp b/plugins/static-files/static-files.cpp
index 4dd8499..e9cff0f 100644
--- a/plugins/static-files/static-files.cpp
+++ b/plugins/static-files/static-files.cpp
@@ -46,7 +46,7 @@ fs::path extend_index_html(fs::path path)
std::string HttpStatus(std::string status, std::string message, std::function<plugin_interface_setter_type>& SetResponseHeader)
{
SetResponseHeader("status", status);
- SetResponseHeader("content_type", "text/html");
+ SetResponseHeader("content_type", "text/plain");
return status + " " + message;
}