Skip to content

Commit 6f0b63a

Browse files
committed
fix redirect
1 parent 8f75a8c commit 6f0b63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ sidebar: false
66
<script setup>
77
import { onMounted } from 'vue';
88
onMounted(() => {
9-
window && window.addEventListener('DOMContentLoaded', () => {
9+
if (typeof window !== 'undefined') {
1010
window.location.href = '/installation/';
11-
});
11+
}
1212
});
1313
</script>

0 commit comments

Comments
 (0)