Skip to content

Commit ac93b49

Browse files
committed
fix: woff file path error
1 parent 4c96a7e commit ac93b49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

theme/assets/fonts/docs/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
font-family: "vp-docs";
33
src: url("./font.eot?inpve4");
44
src: url("./font.eot?inpve4#iefix") format("embedded-opentype"),
5-
url("./font.ttf?inpve4") format("truetype"), url("fonts/font.woff?inpve4") format("woff"),
5+
url("./font.ttf?inpve4") format("truetype"), url("./font.woff?inpve4") format("woff"),
66
url("./font.svg?inpve4#icomoon") format("svg");
77
font-weight: normal;
88
font-style: normal;

theme/assets/fonts/package.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $font-family: "vp-example";
66
font-family: $family;
77
src: url("./#{$name}/font.eot?inpve4");
88
src: url("./#{$name}/font.eot?inpve4#iefix") format("embedded-opentype"),
9-
url("./#{$name}/font.ttf?inpve4") format("truetype"), url("fonts/font.woff?inpve4") format("woff"),
9+
url("./#{$name}/font.ttf?inpve4") format("truetype"), url("./#{$name}/font.woff?inpve4") format("woff"),
1010
url("./#{$name}/font.svg?inpve4#icomoon") format("svg");
1111
font-weight: normal;
1212
font-style: normal;

0 commit comments

Comments
 (0)