I'm encountering a strange behaviour related to excluded paths on the client. Everything works fine as long as the app is loaded and I'm traveling through routes. But when I reload the page (manually or via hot code push) excluded routes that worked perfectly before, suddenly get language-prefixed and everything blows up ;) meaning I get redirected to routes that don't exist.
I stepped through the code and I discovered that when I reload, _i18n.isPathExcluded first gets hit with all my routes and then with the active route, but in absolute form, in contrast to when I'm browsing like this, the url comes in relative form.
so far so good. But when I reload this happens:
May I'm doing something wrong or can I help further to resolve the problem?
I'm encountering a strange behaviour related to excluded paths on the client. Everything works fine as long as the app is loaded and I'm traveling through routes. But when I reload the page (manually or via hot code push) excluded routes that worked perfectly before, suddenly get language-prefixed and everything blows up ;) meaning I get redirected to routes that don't exist.
Here's my config
I stepped through the code and I discovered that when I reload,
_i18n.isPathExcluded
first gets hit with all my routes and then with the active route, but in absolute form, in contrast to when I'm browsing like this, the url comes in relative form.so far so good. But when I reload this happens:
May I'm doing something wrong or can I help further to resolve the problem?