Add /explore redirect route that maps Honcho's deep-link shape (?workspace=...&view=...&session=...) onto our existing flat routes, so any app.honcho.dev URL works against a self-hosted instance by swapping the host. Wire tauri-plugin-deep-link to register the openconcho:// scheme on desktop and forward incoming URLs into the router on launch and at runtime.
21 lines
433 B
JSON
21 lines
433 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Default capabilities for the OpenConcho desktop window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{ "url": "http://*" },
|
|
{ "url": "http://*:*" },
|
|
{ "url": "https://*" },
|
|
{ "url": "https://*:*" }
|
|
]
|
|
},
|
|
"shell:allow-open",
|
|
"deep-link:default"
|
|
]
|
|
}
|