staltz / ssb-room

A server to find and connect to other SSB peers – a meeting place. AGPL-3.0
GNU Affero General Public License v3.0
109 stars 17 forks source link

add Host request header to fix qrcode host #13

Closed romuloalves closed 3 years ago

romuloalves commented 4 years ago

I created a new room on DigitalOcean and set a custom domain. I faced the problem that the invite code was right in the code text but net:localhost:8008~[etc] in the qrcode.

Because the Host request header wasn't being set as the remote one when redirecting, the qrcode was being kept with the server host, aka localhost.

staltz commented 3 years ago

Thank you @romuloalves