Skip to content

Commit

Permalink
Added standard name
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Feb 23, 2024
1 parent 17c0016 commit 6d729db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BUTR.CrashReportServer/Controllers/ReportController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ public ActionResult<IEnumerable<FileMetadata>> GetNewCrashReportsDates([FromBody
}

[AllowAnonymous]
[HttpGet("sitemap.xml")]
[HttpGet("sitemap_index.xml")]
[Produces("application/xml")]
[ProducesResponseType(typeof(Urlset), StatusCodes.Status200OK, "application/xml")]
[ProducesResponseType(typeof(void), StatusCodes.Status500InternalServerError, "application/problem+xml")]
[ResponseCache(Duration = 60 * 60 * 4)]
public IActionResult Sitemap()
public IActionResult SitemapIndex()
{
var count = _dbContext.Set<IdEntity>().Count();
var sitemaps = count % 50000;
Expand Down

0 comments on commit 6d729db

Please sign in to comment.