Skip to content

Commit

Permalink
fix: Update favicon link and type in serve-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
trillium committed Jul 17, 2024
1 parent 93d465c commit 4b3dc9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/serve-doc-next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function serveDoc (conf: BadgenServeConfig): http.RequestListener
title: `${conf.title} badge | Badgen`,
inlineCSS,
beforeHeadEnd: `
<link rel="icon" href="/favicon.png" />
<link rel='icon' type='image/png' href='/statics/favicon.png' />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=${GA_MEASUREMENT_ID}"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion libs/serve-doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function serveDoc (conf: BadgenServeConfig): http.RequestListener
title: `${conf.title} badge | Badgen`,
inlineCSS,
beforeHeadEnd: `
<link rel="icon" href="/favicon.png" />
<link rel='icon' type='image/png' href='/statics/favicon.png' />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=${GA_MEASUREMENT_ID}"></script>
<script>
Expand Down

0 comments on commit 4b3dc9f

Please sign in to comment.