Skip to content

Commit 16b8ba2

Browse files
committed
Fix url that was redirecting
1 parent d76f034 commit 16b8ba2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/components_guide_web/live/latency_comparison.ex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ defmodule ComponentsGuideWeb.LatencyComparisonLive do
4040
content_encoding = Enum.find(h, fn {key, _} -> String.downcase(key) == "content_encoding" end)
4141
transfer_encoding = Enum.find(h, fn {key, _} -> String.downcase(key) == "transfer-encoding" end)
4242
cache_control = Enum.find(h, fn {key, _} -> String.downcase(key) == "cache-control" end)
43+
location = Enum.find(h, fn {key, _} -> String.downcase(key) == "location" end)
4344
inspect([
4445
content_length,
4546
content_encoding,
4647
transfer_encoding,
47-
cache_control
48-
])
48+
cache_control,
49+
location
50+
] |> Enum.filter(fn v -> v != nil end))
4951
end
5052
end
5153

@@ -162,7 +164,7 @@ defmodule ComponentsGuideWeb.LatencyComparisonLive do
162164
"https://vercel.com/atom",
163165
"https://tailwindcss.com/blog",
164166
"https://tailwindcss.com/feeds/atom.xml",
165-
"https://fly.io/blog",
167+
"https://fly.io/blog/",
166168
"https://fly.io/blog/feed.xml",
167169
"https://render.com/blog",
168170
"https://render.com/blog/rss.xml"

0 commit comments

Comments
 (0)