You might need additional logic in the update
function, so that when you click a link to “innerspa.html”, it runs Browser.Navigation.load
instead of Browser.Navigation.pushUrl
because it usually runs pushUrl
when the URL is in the same domain. I don’t know if elm-spa allows that.
Maybe it also works if you change the href
to include the full URL including the domain name