terra-money/LocalTerra

pseudo feeder url pattern doesn't allow for fqdns, dots, dashes

drewboswell opened this issue · 0 comments

const [_, host, port] = /https?:\/\/([a-zA-Z0-9]+)\:(\d+)/.exec(

When running localterra with a dash in the name or in a fqdn format with dots, the feeder fails on the above pattern match.

Suggestion: add dots and dashes to the pattern