File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
import Head from 'next/head' ;
2
2
import { useRouter } from 'next/router' ;
3
3
4
+ import { API_HOST } from '@/utils/api' ;
5
+
4
6
// !STARTERCONF Change these default meta
5
7
const defaultMeta = {
6
8
title : 'HelloGitHub' ,
@@ -115,6 +117,7 @@ export default function Seo(props: SeoProps) {
115
117
116
118
return (
117
119
< Head >
120
+ < link rel = 'dns-prefetch' href = { API_HOST } />
118
121
< title > { `${ meta . title } - HelloGitHub` } </ title >
119
122
< meta name = 'robots' content = { meta . robots } />
120
123
< meta content = { meta . description } name = 'description' />
Original file line number Diff line number Diff line change 3
3
src : url ('../../public/font/iconfont.woff2?t=1684124673183' ) format ('woff2' ),
4
4
url ('../../public/font/iconfont.woff?t=1684124673183' ) format ('woff' ),
5
5
url ('../../public/font/iconfont.ttf?t=1684124673183' ) format ('truetype' );
6
+ font-display : swap;
6
7
}
7
8
8
9
.iconfont {
You can’t perform that action at this time.
0 commit comments