tauri-docs
tauri-docs copied to clipboard
i18n(zh-cn): Update `deep-linking.mdx` following the update of `deep-linking`'s `configuration`
Description
The latest configuration of the deep-linking
plugin has changed, but the zh-cn
translation still follows the old configuration format.
Current configuration:
{
"plugins": {
"deep-link": {
"domains": [
{ "host": "your.website.com", "pathPrefix": ["/open"] },
{ "host": "another.site.br" }
]
}
}
}
Modify to:
{
"plugins": {
"deep-link": {
"mobile": [
{ "host": "your.website.com", "pathPrefix": ["/open"] },
{ "host": "another.site.br" }
],
"desktop": {
"schemes": ["something", "my-tauri-app"]
}
}
}
}