From 37882fa9e18c761234d2e9447851df7072a4c935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=AE=E7=94=9F?= Date: Fri, 20 Mar 2020 10:42:24 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/req.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/req.ts b/static/req.ts index 6e3b738..de7b10a 100644 --- a/static/req.ts +++ b/static/req.ts @@ -1,4 +1,4 @@ -const server="/" +const server=location.href+"/" export function get_font(font:string, text:string) { return new Promise((rs, re) => { var xhr = new XMLHttpRequest();