Browse Source

更新 src/net/util.cpp

1585346868 8 months ago
parent
commit
6e67d285c2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/net/util.cpp

+ 1 - 0
src/net/util.cpp

@@ -47,6 +47,7 @@ void ylib::network::content_type(const std::string& extName, std::string& type)
 {
     static const std::unordered_map<std::string, std::string> mimeTypes = {
          {"html", "text/html"},
+         {"shtml", "text/html"},
          {"htm", "text/html"},
          {"css", "text/css"},
          {"text", "text/plain"},