Update FileEndpoint.cs
This commit is contained in:
parent
e46cebb8bb
commit
ac67a84606
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ public partial class FileEndpoint : RouterBase
|
||||||
if (string.IsNullOrEmpty(fileInfo.Extension))
|
if (string.IsNullOrEmpty(fileInfo.Extension))
|
||||||
{
|
{
|
||||||
mime = new MIMEType("text", "html");
|
mime = new MIMEType("text", "html");
|
||||||
assetPath += ".htm";
|
assetPath += ".html";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue