mirror of
https://github.com/2234839/web-font.git
synced 2025-04-05 20:35:50 +08:00
🔥 适配路径映射的情况
This commit is contained in:
parent
4834e91333
commit
72b53880a5
@ -13,7 +13,7 @@
|
||||
@font-face {
|
||||
font-family: "test";
|
||||
src:
|
||||
url("/generate_fonts_dynamically.ttf?temp=true&font=优设标题黑&text=优设标题黑(直接改这里和前面的字体名看效果)") format("truetype");
|
||||
url("${location.pathname}generate_fonts_dynamically.ttf?temp=true&font=优设标题黑&text=优设标题黑(直接改这里和前面的字体名看效果)") format("truetype");
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user