elm-route-url icon indicating copy to clipboard operation
elm-route-url copied to clipboard

RouteUrl.Builder.replacePath produces JS error

Open Beny406 opened this issue 7 years ago • 0 comments

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/'

Beny406 avatar Jan 22 '18 09:01 Beny406