ChatGPT-Next-Web/src-tauri/capabilities/main.json
2024-09-24 21:19:45 +08:00

28 lines
546 B
JSON

{
"identifier": "main",
"description": "permissions for desktop app",
"local": true,
"windows": ["main"],
"permissions": [
"core:default",
"core:window:allow-start-dragging",
"core:window:allow-maximize",
"http:default",
"http:allow-fetch",
"http:allow-fetch-cancel",
"http:allow-fetch-read-body",
"http:allow-fetch-send",
{
"identifier": "http:allow-fetch",
"allow": [
{
"url": "https://*"
},
{
"url": "http://*"
}
]
}
]
}