Add preconnect for ga and api

pull/3904/head
Kamran Ahmed 2 years ago
parent f8e5661353
commit 9e37076d0d
  1. 4
      src/layouts/BaseLayout.astro

@ -124,7 +124,9 @@ const gaPageIdentifier = Astro.url.pathname
/> />
<link rel='icon' href='/manifest/favicon.ico' type='image/x-icon' /> <link rel='icon' href='/manifest/favicon.ico' type='image/x-icon' />
<link rel='dns-prefetch' href='https://api.roadmap.sh/' />
<link rel='preconnect' href='https://www.google-analytics.com/' />
<link rel='preconnect' href='https://api.roadmap.sh/' />
<slot name='after-header' /> <slot name='after-header' />
{ {

Loading…
Cancel
Save