diff --git a/src/Geta.Optimizely.Sitemaps/Controllers/GetaSitemapController.cs b/src/Geta.Optimizely.Sitemaps/Controllers/GetaSitemapController.cs index e25dec10..17019dc7 100644 --- a/src/Geta.Optimizely.Sitemaps/Controllers/GetaSitemapController.cs +++ b/src/Geta.Optimizely.Sitemaps/Controllers/GetaSitemapController.cs @@ -17,7 +17,6 @@ namespace Geta.Optimizely.Sitemaps.Controllers { - [Route("sitemap.xml")] public class GetaSitemapController : Controller { private readonly ISitemapRepository _sitemapRepository; @@ -40,7 +39,7 @@ public GetaSitemapController( _configuration = options.Value; } - [Route("", Name = "Sitemap without path")] + [Route("sitemap.xml", Name = "Sitemap without path")] [Route("{path}sitemap.xml", Name = "Sitemap with path")] [Route("{language}/sitemap.xml", Name = "Sitemap with language")] [Route("{language}/{path}sitemap.xml", Name = "Sitemap with language and path")]