Skip to content

Commit 8f5c5da

Browse files
authored
Merge pull request #64 from CreativeCodeBerlin/redirect-fix
redirect fix
2 parents c3a9e62 + db0f866 commit 8f5c5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ provide('project', project)
4848
4949
const route = useRoute()
5050
onMounted(() => {
51-
let redirect = redirects.find(r => r.path === route.path)
51+
let redirect = redirects.filter(redirect => !redirect.page).find(r => r.path === route.path)
5252
if (!redirect) return
5353
window.location.href = redirect.target
5454
})

0 commit comments

Comments
 (0)