I’m making an SPA using Elm, and I need to navigate to another route after received a message.
The problem is that if I use:
Nav.replaceUrl key <| Builder.absolute [ "/another" ] []
The browser gives A history state object with URL 'http://another' cannot be created in a document with origin XXX
.
Is there a method to directly issue an internal navigation without knowing current domain ?