Closed BjornB2 closed 8 months ago
I have just pushed a fix to send a 502 error page when the fetch fails instead of crashing.
Technically, a 404 is received when the site was found, but the page was not. That worked already. In this case, the site itself was not found, which is a different kind of error that was not being handled.
Hey! I've been playing around with my Psion 5mx to get it connected, and also found your proxy which is really awesome. I'd like to add it to my instructions since it can be run on the same raspberry pi that I use to connect to the internet in the first place. It's a bit slow on a Raspberry Pi 3B but let's say that that is part of the retro experience 😉
The only issue I run into is that if I enter a non-existing website, the proxy crashes.
Is this an easy fix maybe?
Also, I've tried to find out how to run this as a service or something, but couldn't find if that works with yarn start. Not a linux expert so to say :)