elm-route-url
elm-route-url copied to clipboard
RouteUrl.Builder.replacePath produces JS error
When RouteUrl.Builder.replacePath
is given a list of at least two strings, where the first item is empty, JS error is produced. app.js:13496 Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://something/' cannot be created in a document with origin 'http://localhost:8080' and URL 'http://localhost:8080/'