We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15d1401 + 4ab1a3d commit b4e026aCopy full SHA for b4e026a
2 files changed
server/src/Docs.Web/Docs.Web.csproj
@@ -23,4 +23,8 @@
23
<ProjectReference Include="..\Docs.ServiceDefaults\Docs.ServiceDefaults.csproj" />
24
</ItemGroup>
25
26
+ <ItemGroup>
27
+ <_ContentIncludedByDefault Remove="wwwroot\dummy.txt" />
28
+ </ItemGroup>
29
+
30
</Project>
server/src/Docs.Web/Program.cs
@@ -87,6 +87,8 @@
87
app.UseDefaultFiles();
88
app.UseStaticFiles(new StaticFileOptions
89
{
90
+ ServeUnknownFileTypes = true,
91
92
OnPrepareResponse = ctx =>
93
94
var path = ctx.File.Name;
0 commit comments