🐛 修复请求地址的问题

This commit is contained in:
崮生 2020-03-20 10:42:24 +08:00
parent f4d68d9030
commit 37882fa9e1

View File

@ -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();