I have a Raspberry pi 4 that is connected to a therm sensor ds18b20. The Raspberry Pi is running a flask application in 0.0.0.0 in port 5000, the app gives the current temperature using the sensor every second.
But when my github pages website is in the air it gives error in the console saying that it can't connect the ip.
I think that my raspberry pi has a private IP like a home network IP and github pages can't connect to it.
How do I solve this?
I tried changing the port of the flask app but didn't work. I also tried put a static ip and didn't work