The console saves the address of the last page that was visited so it can be restored the next time the console is opened.
This causes problems if you switch between the hawtio version and the stand-alone version since the addresses are not the same.
- Use separate keys to store the last address: One for hawtio and one for stand-alone.
- Detect when this happens and go to a default page.
- Don't store the full address. Only store the page name and reconstruct the full address based on the current console's base address.