From 72b53880a59dc00f59c4a4f0c54e018024d384e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=AE=E7=94=9F?= Date: Sat, 21 Mar 2020 14:29:12 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E9=80=82=E9=85=8D=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=98=A0=E5=B0=84=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/App.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/App.svelte b/static/App.svelte index 202c4ec..93b2883 100644 --- a/static/App.svelte +++ b/static/App.svelte @@ -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; }