File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
lib/components_guide_web/live Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments