download works on localhost but not on private ip
I have cloned and hosted it on my ubuntu machine. I am able to download the file using localhost but not using private ip. A new window opens with nothing in it. But when I check the console, it says "all files downloaded."
Browser: Firefox 134.0.2
pnpm: 10.0.0
I do not work on webapps. If I am missing something, can you please add it to the FAQ section. That will help other people who selfhost filepizza.
I've encountered the same issue; I can transfer files using localhost, but when I use another IP address, it doesn't work. A blank page pops up, indicating that the download is complete, but in fact, no file is downloaded.
@paniabhisek @CouldWe You need to allow origins from which the filepizza server is invoked. You can specify that by uncommenting the API_ORIGINS env variable in the docker compose file and specifying your local ip in that list. You can also try 'API_ORIGINS=*' which will accept any origin, although that is not recommended.
This feature is implemented on this fork:
https://github.com/TeXlyre/filepizza