Recently I had an issue where I needed one of my React components to speak to one of the services in my homelab.
I needed this to happen securely, and did not want to have my API public.. But what do I do?
Well, Tailscale has serve! Which allows me to serve a webpage, to my tailnet, on a secure domain! This is perfect!
All I needed to do was to make my component make a client side fetch and as long as the requesting user is on my tailnet, they’ll get a response! If they are not, they get a 404! Perfect!

