terminusdb / terminus-dashboard

Management Dashboard for Terminus DB
Apache License 2.0
16 stars 2 forks source link

Database URL with hostname not accepted #2

Closed rrooij closed 5 years ago

rrooij commented 5 years ago

Only localhost is accepted as hostname for a database URL, but it does not work when using another entry in /etc/hosts.

The problem is in the URL parsing regex:

https://github.com/terminusdb/terminus-javascript-sdk/blob/11107c8aca2937bea3e65bff9b0349a0d6939677/WOQLClient.js#L774-L782

kevinchekovfeeney commented 5 years ago

Fixed in latest version