Skip to content

Commit

Permalink
Fix static files
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed May 21, 2024
1 parent c637b29 commit cbcf06e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/{map?}/{zone?}"
@page "/{map:nonfile?}/{zone?}"
@rendermode InteractiveWebAssembly

@inject HttpClient Http
Expand Down
4 changes: 2 additions & 2 deletions TMTurboRecords/TMTurboRecords/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@

app.UseStaticFiles();

app.UseAntiforgery();

app.UseSwagger();

app.MapScalarUi();

app.UseEndpoints();

app.UseAntiforgery();

app.MapRazorComponents<App>()
.AddInteractiveWebAssemblyRenderMode()
.AddAdditionalAssemblies(typeof(TMTurboRecords.Client._Imports).Assembly);
Expand Down

0 comments on commit cbcf06e

Please sign in to comment.