BurstProject / burstcoin

MIT License
78 stars 257 forks source link

Fix reverse proxy testnet foo #22

Closed BugRoger closed 7 years ago

BugRoger commented 7 years ago

I'm hosting my wallet behind a reverse-proxy server. It adds SSL termination and exposes the apiserver on port 443. In the browser it is called like https://mywallet.com.

Now that there is no port in the URL the UI connects against the Testnet port, due an unfortunate check that fails if no port is given.

This patch fixes this problem and makes the intention clear, that only with the special testnet port the UI connects to Testnet.