LegumeFederation / cmap-js

Display and compare biological maps (genetic, physical, cytogenetic, genomic, linkage groups, chromosomes, scaffolds).
GNU General Public License v3.0
4 stars 2 forks source link

fix page not found error for `npm run watch` in a codespace #131

Closed Cheehau0659 closed 1 year ago

Cheehau0659 commented 1 year ago

fix page not found error

nathanweeks commented 1 year ago

Instead of 0.0.0.0 to listen on port 8888 on all interfaces, 127.0.0.1 appears to suffice to allow port forwarding to work in a codespace on npm run watch. I think it's due to localhost resolving to an ipv6 address in a codespace, which IIRC VS Code has had issues with in the past:

$ getent hosts localhost
::1             localhost ip6-localhost ip6-loopback