更新 src/net/util.cpp

This commit is contained in:
2026-01-02 11:07:00 +08:00
parent ceb4368daf
commit 6e67d285c2

View File

@@ -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"},