orbitdb-archive / orbit-web

Orbit Web Application
https://orbit.chat
MIT License
265 stars 60 forks source link

Loading orbit.chat using IPFS Companion browser extension creates redirect loop #142

Closed mohe2015 closed 5 years ago

mohe2015 commented 5 years ago

When I want to access https://orbit.chat using IPFS Companion browser extension with "redirect to gateway" enabled it creates a redirect loop with http://127.0.0.1:8080/ipns/orbit.chat/#/channel/orbit I don't know why that happens but I assume that orbit.chat redirects to its domain and "fights" against IPFS Companion redirection.

mohe2015 commented 5 years ago

I was probably right because http://**localhost**:8080/ipns/orbit.chat works. The check https://github.com/orbitdb/orbit-web/blob/master/src/index.js#L17 should probably also include other local domains.