Skip to content

Commit

Permalink
add new endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kkuepper committed Feb 13, 2024
1 parent 3eb5a70 commit ce995e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BMM.Website/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
app.MapGet("groupgoal/{*.}", handler);
app.MapGet("copyright/{*.}", handler);
app.MapGet("messages-unavailable/{*.}", handler);
app.MapGet("romans-statistics/{*.}", handler);

// We want to allow downloading without needing to log in. It looks ugly and can't be translated but offers a better exerience.
app.MapGet("apk/{*.}", () => new HtmlResult(File.ReadAllText("wwwroot/apk.html")));
Expand Down

0 comments on commit ce995e5

Please sign in to comment.