fix direction

This commit is contained in:
Jonathan Baecker 2020-04-30 10:52:14 +02:00
parent 4a1ee47771
commit b43fe21b3d

View File

@ -1,5 +1,5 @@
export default async function ({ store, redirect }) {
await store.dispatch('/auth/inspectToken')
await store.dispatch('auth/inspectToken')
if (!store.state.auth.isLogin) {
return redirect('/')