Open xelab04 opened 4 hours ago
Running the commands manually, as follows, works.
let r = await fetch(<URL>)
await x.blob()
The latter successfully returns:
size: 24875
type: "image/jpeg"
Actually, replacing the lines at 11503 with the following fixed the issue.
let r = await fetch(t);
return await x.blob();
Nevermind. That worked for a minute, now the error is back.
Describe the bug Error running sync. profile-sync ⠇ avatar: ↓ downloadingError: Unable to download media:
This error is applicable to running both the manual version, as well as the Docker container.
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/louisgrasset/touitomamout.git && cd touitomamout
nvm use v20.16.0
node dist/index.js .env
profile-sync ⠇ avatar: ↓ downloadingError: Unable to download media:
Expected behavior Sync would work. Or at least Touitomamout would not try downloading the avatar when SYNC_PROFILE_PICTURE is set to false. I understand full functionality isn't available without logging in, but I was hoping it would work at least on text/links.
Screenshots