Skip to content

Commit

Permalink
fix: fix prerender error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanyxh committed May 5, 2024
1 parent eb05266 commit 509cb56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helpers/vite-prerender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ function getMetaTag(meta: ArticleMeta | undefined, route: ResolveRouteObject) {
<meta name="twitter:title" content="${env.VITE_APP_TITLE}">
<meta name="twitter:description" content="技术博客,演示站,工具站;做一个有用的网站,拥有优秀的用户体验。站在巨人的肩膀上/If I have seen further than others, it is by standing upon the shoulders of giants.">
<meta property="og:image" content="https://yuanyxh.com/favicon.ico">
<meta name="twitter:image" content="https://yuanyxh.com/favicon.ic
<meta name="twitter:image" content="https://yuanyxh.com/favicon.ico">
<title>${env.VITE_APP_TITLE}</title>
`;
}

Expand Down

0 comments on commit 509cb56

Please sign in to comment.