mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-05 00:46:00 +08:00
testcommit
This commit is contained in:
12
app/pages/start.vue
Normal file
12
app/pages/start.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
const route = useRoute()
|
||||
|
||||
definePageMeta({ layout: false })
|
||||
|
||||
// This page was /start in the monorepo and became the app's front page in the
|
||||
// split (see index.vue). Bookmarks, the website's redirect and every link that
|
||||
// predates the split still point at /start, so catch it here instead of
|
||||
// showing a 404 — the app should not depend on the website being redeployed
|
||||
// for its own old URLs to work.
|
||||
await navigateTo({ path: '/', query: route.query }, { replace: true })
|
||||
</script>
|
||||
Reference in New Issue
Block a user