window.location.pathname to add query strings in runtime and manipulating the
window.history to update the url.
in launch mode this works fine, however, if I build and host this app at playcanv.as, I get a mismatch between the location pathname reported in my code and the one I see if I run the command in the browser console.
- Code reports
- Browser console reports
This messes up my url, and query string is never updated. What’s going on here?