In pre-V10, while closing the application, I used to exit to an external site as follow:
ui.getPage().setLocation("https://www.somesite.com");
How can I do this in V10?
UI.getCurrent().getPage().executeJavaScript("window.location.href = 'http://google.com'");
Oh yea, I should have thought about it.
Thanks.
There should probably be some more obvious shorthand for that…
…and looks like it’s already mentioned in this ticket: https://github.com/vaadin/flow/issues/1897