From 7723133ca5669e65fe28aa0cdd749727ba806a2f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 22:26:15 +0000 Subject: [PATCH 1/2] Bump version to 9.4.2 --- app/mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mix.exs b/app/mix.exs index 1a8413d06..0d336f0e3 100644 --- a/app/mix.exs +++ b/app/mix.exs @@ -3,7 +3,7 @@ Code.require_file("lib/env.ex") defmodule Meadow.MixProject do use Mix.Project - @app_version "9.4.1" + @app_version "9.4.2" def project do [ From a19c1823df14252ecbfe84197e5e0d7eaef51fbd Mon Sep 17 00:00:00 2001 From: "Michael B. Klein" Date: Wed, 31 Jul 2024 23:09:33 +0000 Subject: [PATCH 2/2] One-byte sitemap fix --- app/lib/meadow/utils/sitemap.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/meadow/utils/sitemap.ex b/app/lib/meadow/utils/sitemap.ex index 367220df2..52b153d6c 100644 --- a/app/lib/meadow/utils/sitemap.ex +++ b/app/lib/meadow/utils/sitemap.ex @@ -100,7 +100,7 @@ defmodule Meadow.Utils.Sitemap do defp generate_index(config) do with date <- Date.utc_today() |> to_string(), gz_url <- - config[:sitemap_url] |> URI.parse() |> URI.merge("sitemap.xml.gz") |> URI.to_string() do + config[:sitemap_url] |> Path.join("sitemap.xml.gz") do XmlBuilder.element(:urlset, %{xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9"}, [ XmlBuilder.element(:url, [ XmlBuilder.element(:loc, gz_url),