Skip to content

Commit b4e026a

Browse files
authored
Merge pull request #1016 from DuendeSoftware/mb/fix-search
Fix Pagefind
2 parents 15d1401 + 4ab1a3d commit b4e026a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

server/src/Docs.Web/Docs.Web.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@
2323
<ProjectReference Include="..\Docs.ServiceDefaults\Docs.ServiceDefaults.csproj" />
2424
</ItemGroup>
2525

26+
<ItemGroup>
27+
<_ContentIncludedByDefault Remove="wwwroot\dummy.txt" />
28+
</ItemGroup>
29+
2630
</Project>

server/src/Docs.Web/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@
8787
app.UseDefaultFiles();
8888
app.UseStaticFiles(new StaticFileOptions
8989
{
90+
ServeUnknownFileTypes = true,
91+
9092
OnPrepareResponse = ctx =>
9193
{
9294
var path = ctx.File.Name;

0 commit comments

Comments
 (0)