feat(docs): add options descriptions for server settings

This commit is contained in:
Jacky 2024-05-04 12:20:00 +08:00
parent 7be4a70824
commit 4ad5e77fd3
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
5 changed files with 48 additions and 4 deletions

View file

@ -20,7 +20,8 @@ onMounted(async () => {
&& locales[language]
&& !route.path.includes(language)
) {
await router.go(language + (route.path !== '/' ? route.path : ''))
const endWith = import.meta.env.DEV ? '/' : ''
await router.go(language + (route.path !== '/' ? route.path : endWith))
}
})
</script>