Skip to content

Commit 4759992

Browse files
committed
More performance enhancement
1 parent be5ba16 commit 4759992

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nuxt.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ module.exports = {
2929
{ hid: 'og:url', property: 'og:url', content: 'https://covid-worldwide.herokuapp.com' }
3030
],
3131
link: [
32-
{ rel: 'preconnect', href: 'https://api.mapbox.com', crossorigin: 'anonymous' },
33-
{ rel: 'preconnect', href: 'https://www.google-analytics.com', crossorigin: 'anonymous' },
34-
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: 'anonymous' },
32+
{ rel: 'preconnect dns-prefetch', href: 'https://api.mapbox.com', crossorigin: 'anonymous' },
33+
{ rel: 'preconnect dns-prefetch', href: 'https://www.google-analytics.com', crossorigin: 'anonymous' },
34+
{ rel: 'preconnect dns-prefetch', href: 'https://ajax.googleapis.com', crossorigin: 'anonymous' },
35+
{ rel: 'preconnect dns-prefetch', href: 'https://fonts.gstatic.com', crossorigin: 'anonymous' },
3536
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
3637
]
3738
},

0 commit comments

Comments
 (0)