Fix redirect from homepage and improve navigation

This commit is contained in:
Michael Winter 2026-03-07 15:32:15 +01:00
parent 1694c4a890
commit 29dace6fc8
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@ export default defineNuxtConfig({
}, },
}, },
routeRules: { routeRules: {
'/': { redirect: '/pieces' },
'/hdp': { redirect: '/a_history_of_the_domino_problem' }, '/hdp': { redirect: '/a_history_of_the_domino_problem' },
// Default: prerender all routes (static HTML) // Default: prerender all routes (static HTML)

View file

@ -3,5 +3,5 @@
</template> </template>
<script setup> <script setup>
await navigateTo('/pieces', { replace: true }) navigateTo('/pieces')
</script> </script>