mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix(docs): redirect to target lang show 404
This commit is contained in:
parent
9ed10d65ba
commit
0a24469248
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ onMounted(async () => {
|
|||
&& locales[language]
|
||||
&& !route.path.includes(language)
|
||||
) {
|
||||
await router.go(language + '/' + route.path)
|
||||
await router.go(language + (route.path !== '/' ? route.path : ''))
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue