#Didn't work external link

4 messages · Page 1 of 1 (latest)

sturdy wraith
#

I create tauri app which reject user on a website, but in this site there is buttons/links which open another site with type "_blank" and if i will click on this button will be receive error "Uncaught (in promise) Not allowed by the scope". Mb this is secure error. How i can solve this error? Thanks

storm island
sturdy wraith
#

{
"build": {
"beforeDevCommand": "",
"beforeBuildCommand": "",
"devPath": "../src",
"distDir": "../src",
"withGlobalTauri": true
},
"package": {
"productName": "Tinkoff Desktop",
"version": "0.0.1"
},
"tauri": {
"allowlist": {
"all": true,
"shell": {
"all": true,
"open": true
}
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.leofaraf.dev",
"icon": [
"icons/icon.ico",
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns"
]
},
"security": {
"csp": null,
"dangerousUseHttpScheme": true,
"dangerousDisableAssetCspModification": true,
"dangerousRemoteDomainIpcAccess": [
{
"domain": "tinkoff.ru",
"windows": ["main", "root", "block", "global", "function"]
},
{
"domain": "www.tinkoff.ru",
"windows": ["main", "root", "block", "global", "function"]
},
{
"domain": "business.tinkoff.ru",
"windows": ["main", "root", "block", "global", "function" ]
}
]
},
"windows": [
{
"fullscreen": false,
"resizable": true,
"title": "Tinkoff Desktop",
"width": 1200,
"height": 800
}
]
}
}
This is my config

storm island