Skip to content

Commit c2d682c

Browse files
fix: correct favicon path (#3205)
1 parent e56ce4d commit c2d682c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

public/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
})();
1717
</script>
1818
<meta charset="utf-8" />
19-
<link rel="icon" href="<%=assetPrefix%>/static/favicon.png" />
2019
<meta name="viewport" content="width=device-width, initial-scale=1" />
2120
<meta name="theme-color" content="#000000" />
2221
<meta name="YDB Monitoring" />

rsbuild.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ export default defineConfig({
7979
distPath: {
8080
root: './build',
8181
// YDB server that serves static files expects fonts to be in media folder
82+
// and favicon in static folder
8283
font: 'static/media',
84+
favicon: 'static',
8385
},
8486
assetPrefix: 'auto',
8587
sourceMap: {
@@ -90,6 +92,7 @@ export default defineConfig({
9092
},
9193
html: {
9294
template: './public/index.html',
95+
favicon: './public/static/favicon.png',
9396
},
9497
tools: {
9598
rspack(config, {appendPlugins}) {

0 commit comments

Comments
 (0)