From fbc4fa82ec5f9dc5d47c6ccae5ef17aea3d81a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=AE=E7=94=9F?= Date: Sat, 21 Mar 2020 17:49:21 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E5=9C=A8=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E5=88=AB=E5=90=8D=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=AE=BF=E9=97=AE=E5=88=B0=20zip=20=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= 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 dca16c0..4b6e034 100644 --- a/static/App.svelte +++ b/static/App.svelte @@ -29,7 +29,7 @@ const family = r.match(/font-family: "(.*)"/)[1]; font.css = r; font.family = family; - font.zip=r.match(/(asset\/font\/\d+\/)/)[0]+'asset.zip' + font.zip=location.pathname+r.match(/(asset\/font\/\d+\/)/)[0]+'asset.zip' /** 因为要触发其他更新则必须对这个变量重新赋值 */ font_list = font_list; })