更新 src/net/util.cpp
This commit is contained in:
@@ -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 = {
|
static const std::unordered_map<std::string, std::string> mimeTypes = {
|
||||||
{"html", "text/html"},
|
{"html", "text/html"},
|
||||||
|
{"shtml", "text/html"},
|
||||||
{"htm", "text/html"},
|
{"htm", "text/html"},
|
||||||
{"css", "text/css"},
|
{"css", "text/css"},
|
||||||
{"text", "text/plain"},
|
{"text", "text/plain"},
|
||||||
|
|||||||
Reference in New Issue
Block a user