From 603367ef55285c1ed8ad131f0d601c3e46b993d7 Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Tue, 29 Oct 2024 11:10:53 -0400 Subject: [PATCH] fix: Have vanity links point to dotcom, rather than CDN (#2206) --- lib/dotcom/map_helpers.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dotcom/map_helpers.ex b/lib/dotcom/map_helpers.ex index cd62b14e4b..8f9f7817d2 100644 --- a/lib/dotcom/map_helpers.ex +++ b/lib/dotcom/map_helpers.ex @@ -55,14 +55,14 @@ defmodule Dotcom.MapHelpers do @spec image(atom) :: String.t() def image(:subway) do - static_url(DotcomWeb.Endpoint, "/subway-map-image") + "/subway-map-image" end def image(:commuter_rail) do - static_url(DotcomWeb.Endpoint, "/cr-map-image") + "/cr-map-image" end def image(:ferry) do - static_url(DotcomWeb.Endpoint, "/ferry-map-image") + "/ferry-map-image" end end