feat: add route alias for GoToSocial status

This commit is contained in:
三咲智子 Kevin Deng 2023-01-15 17:55:58 +08:00
parent 5247b36b6d
commit 08293a107c
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -4,6 +4,8 @@ import type { ComponentPublicInstance } from 'vue'
definePageMeta({
name: 'status',
key: route => route.path,
// GoToSocial
alias: ['/:server/@:account/statuses/:status'],
})
const route = useRoute()