We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358f7bb commit 9a13624Copy full SHA for 9a13624
pages/_document.js
@@ -10,6 +10,13 @@ class MyDocument extends Document {
10
return (
11
<Html>
12
<Head>
13
+ <link
14
+ rel='preload'
15
+ href='/fonts/inter-var-latin.woff2'
16
+ as='font'
17
+ type='font/woff2'
18
+ crossOrigin='anonymous'
19
+ />
20
<link
21
rel='apple-touch-icon'
22
sizes='57x57'
vercel.json
@@ -0,0 +1,13 @@
1
+{
2
+ "headers": [
3
+ {
4
+ "source": "/fonts/inter-var-latin.woff2",
5
6
7
+ "key": "Cache-Control",
8
+ "value": "public, max-age=31536000, immutable"
9
+ }
+ ]
+}
0 commit comments