Skip to content

Commit be5ba16

Browse files
committed
More performance enhancement
1 parent d1f3fff commit be5ba16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nuxt.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ 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: true },
33-
{ rel: 'preconnect', href: 'https://www.google-analytics.com', crossorigin: true },
34-
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: true },
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' },
3535
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
3636
]
3737
},

0 commit comments

Comments
 (0)