fix: handle permalinks with app shell (#468)
This commit is contained in:
parent
f8ebc0e99a
commit
8de1c95fd3
3 changed files with 11 additions and 3 deletions
|
@ -85,7 +85,7 @@ export async function loginTo(user?: Omit<UserLogin, 'account'> & { account?: Ac
|
|||
}
|
||||
}
|
||||
|
||||
if ('server' in route.params && user?.token) {
|
||||
if ('server' in route.params && user?.token && !useNuxtApp()._processingMiddleware) {
|
||||
await router.push({
|
||||
...route,
|
||||
force: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue