Fix redirect from homepage and improve navigation
This commit is contained in:
parent
1694c4a890
commit
29dace6fc8
|
|
@ -19,6 +19,7 @@ export default defineNuxtConfig({
|
|||
},
|
||||
},
|
||||
routeRules: {
|
||||
'/': { redirect: '/pieces' },
|
||||
'/hdp': { redirect: '/a_history_of_the_domino_problem' },
|
||||
|
||||
// Default: prerender all routes (static HTML)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
await navigateTo('/pieces', { replace: true })
|
||||
navigateTo('/pieces')
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue