[Modify] Polish it
This commit is contained in:
parent
83aa8c9460
commit
9c03d1e8e3
@ -71,8 +71,7 @@ namespace Example3
|
|||||||
res.ContentType = "text/html";
|
res.ContentType = "text/html";
|
||||||
res.ContentEncoding = Encoding.UTF8;
|
res.ContentEncoding = Encoding.UTF8;
|
||||||
}
|
}
|
||||||
|
else if (path.EndsWith (".js")) {
|
||||||
if (path.EndsWith (".js")) {
|
|
||||||
res.ContentType = "application/javascript";
|
res.ContentType = "application/javascript";
|
||||||
res.ContentEncoding = Encoding.UTF8;
|
res.ContentEncoding = Encoding.UTF8;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user