Describe the bug
The webui assumes "localhost" for the gateway, even though it was accessed on a non-localhost system.
To Reproduce
Steps to reproduce the behavior:
- Access an IPFS gateway remotely
- Go to 'explore'
- Click on 'xkcd'
- Pick a comic
- Hover over 'View on IPFS Gateway'
Expected behavior
webui gateway host should default to the same host that the webui is accessed via.
Screenshots

Desktop (please complete the following information):
- OS: Arch Linux
- Browser: Opera
Describe the bug
The webui assumes "localhost" for the gateway, even though it was accessed on a non-localhost system.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
webui gateway host should default to the same host that the webui is accessed via.
Screenshots
Desktop (please complete the following information):