1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-06-30 13:41:44 +02:00

preconnect to Typekit resources

This commit is contained in:
Matthias Kretschmann 2019-06-10 02:58:56 +02:00
parent 0293b8cfb1
commit 896d97bafd
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -34,8 +34,8 @@ const Typekit = () => (
return (
typekitID && (
<Helmet>
<link rel="dns-prefetch" href="https://use.typekit.net" />
<link rel="dns-prefetch" href="https://typekit.com" />
<link rel="preconnect" href="https://use.typekit.net" />
<link rel="preconnect" href="https://typekit.com" />
{TypekitScript(typekitID)}
</Helmet>