Update FileEndpoint.cs

This commit is contained in:
uwaa 2024-12-16 11:40:52 +00:00
parent e46cebb8bb
commit ac67a84606

View file

@ -87,7 +87,7 @@ public partial class FileEndpoint : RouterBase
if (string.IsNullOrEmpty(fileInfo.Extension))
{
mime = new MIMEType("text", "html");
assetPath += ".htm";
assetPath += ".html";
}
else
{