Skip to content

Commit

Permalink
fix: Have vanity links point to dotcom, rather than CDN (#2206)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlarson authored Oct 29, 2024
1 parent c892bd1 commit 603367e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/dotcom/map_helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 603367e

Please sign in to comment.