fix: normalize url

This commit is contained in:
Han Xiao 2025-03-17 13:15:36 +08:00
parent 8546a46695
commit 1067a0c256

View File

@ -21,7 +21,6 @@ export function readUrl(url: string, withAllLinks?: boolean, tracker?: TokenTrac
'Content-Type': 'application/json',
'X-Retain-Images': 'none',
'X-Md-Link-Style': 'discarded',
'X-Timeout': '20'
};
if (withAllLinks) {
headers['X-With-Links-Summary'] = 'all'