Closed rrooij closed 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
Fixed in latest version
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