Skip to content

Commit 6a8d9a3

Browse files
fix: 同步 fmq-admin favicon,增加 shortcut icon 以改善展示
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3f295aa commit 6a8d9a3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

plugins/favicon-plugin.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ export default function faviconPlugin(context) {
2020
href: faviconHref,
2121
},
2222
},
23+
{
24+
tagName: 'link',
25+
attributes: {
26+
rel: 'shortcut icon',
27+
type: 'image/x-icon',
28+
href: faviconHref,
29+
},
30+
},
2331
],
2432
};
2533
},

0 commit comments

Comments
 (0)