Skip to content

Commit

Permalink
Temp: Remove incorrect swagger server urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Nov 19, 2020
1 parent 787ab28 commit d313f80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Exceptionless.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ public class Startup {

app.UseSwagger(c => {
c.RouteTemplate = "docs/{documentName}/swagger.json";
// TODO: Remove once 5.6.4+ is released
c.PreSerializeFilters.Add((doc, _) => doc.Servers?.Clear());
});
app.UseSwaggerUI(s => {
s.RoutePrefix = "docs";
Expand Down

0 comments on commit d313f80

Please sign in to comment.