cabal-club / cabal-core

Core database and replication for cabal.
GNU Affero General Public License v3.0
303 stars 43 forks source link

host from URL is undefined in electron/browsers #88

Closed nikolaiwarner closed 4 years ago

nikolaiwarner commented 4 years ago

https://github.com/cabal-club/cabal-core/blob/779a500c5d2f3b6fb4e75c5a98af96389cfe9a8e/index.js#L62

Could this check for uri.hostname as a fallback as well?