Remove non existing page from sitemap

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-03 09:25:08 +01:00
parent 20999c4ef4
commit 54116686c8
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -14,8 +14,8 @@ defmodule Mobilizon.Service.SiteMap do
def generate_sitemap do def generate_sitemap do
static_routes = [ static_routes = [
{Routes.page_url(Endpoint, :index, []), :daily}, {Routes.page_url(Endpoint, :index, []), :daily},
"#{Endpoint.url()}/search",
"#{Endpoint.url()}/about/instance", "#{Endpoint.url()}/about/instance",
"#{Endpoint.url()}/about/mobilizon",
"#{Endpoint.url()}/terms", "#{Endpoint.url()}/terms",
"#{Endpoint.url()}/privacy", "#{Endpoint.url()}/privacy",
"#{Endpoint.url()}/rules", "#{Endpoint.url()}/rules",