Fixed Aylo specifying wrong host for media.

This commit is contained in:
DebaucheryLibrarian
2026-03-10 05:54:00 +01:00
parent bff665c6ec
commit 155e235246
2 changed files with 1 additions and 1 deletions

View File

@@ -647,6 +647,7 @@ async function fetchHttpSource(source, tempFileTarget, hashStream) {
const res = await http.get(source.src, {
limits: 'media',
headers: {
host: new URL(source.src).hostname,
...(source.referer && { referer: source.referer }),
...(source.host && { host: source.host }),
},