Skip to content

Commit

Permalink
⚡ optimize LCP
Browse files Browse the repository at this point in the history
  • Loading branch information
XiYang6666 committed Aug 23, 2024
1 parent 2d213ad commit 387a282
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ useHead({
rel: "shortcut icon",
href: "/api/getIcon",
},
{
rel: "preload",
href: "/api/getAvatar",
as: "image",
},
{
rel: "preload",
href: "/api/getRandomBackground",
as: "image",
},
],
});
</script>

0 comments on commit 387a282

Please sign in to comment.