mirror of
https://github.com/2234839/web-font.git
synced 2025-04-05 20:35:50 +08:00
🔥 修复请求地址的问题
This commit is contained in:
parent
7496e426d0
commit
f4d68d9030
@ -1,4 +1,4 @@
|
||||
const server="http://127.0.0.1:3000"
|
||||
const server="/"
|
||||
export function get_font(font:string, text:string) {
|
||||
return new Promise((rs, re) => {
|
||||
var xhr = new XMLHttpRequest();
|
||||
|
Loading…
x
Reference in New Issue
Block a user