Files
openhuman/app/src-tauri/tauri.conf.json
T
Steven Enamakel 8bdecf6100 chore: update OpenHuman version to 0.52.24 and enhance CSP in tauri.conf.json
- Bumped the OpenHuman package version to 0.52.24 in both Cargo.lock files.
- Updated the Content Security Policy (CSP) in tauri.conf.json to allow connections from localhost and 127.0.0.1, improving development flexibility.

These changes ensure compatibility with the latest OpenHuman features and enhance security settings for local development.
2026-04-18 10:36:53 -07:00

81 lines
2.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenHuman",
"version": "0.52.24",
"identifier": "com.openhuman.app",
"build": {
"beforeDevCommand": "npm run core:stage && npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build:app && npm run core:stage",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "OpenHuman",
"width": 800,
"height": 720,
"visible": true,
"decorations": true,
"resizable": true,
"center": true
}
],
"security": {
"csp": "default-src 'self' 'unsafe-inline' data: blob: https: wss: ipc: http://ipc.localhost http://127.0.0.1:* http://localhost:*; img-src 'self' data: blob: https:; connect-src 'self' ipc: http://ipc.localhost http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:* https: wss: data: blob:; frame-src 'self' https: data: blob:"
},
"macOSPrivateApi": true
},
"bundle": {
"active": true,
"targets": [
"app",
"dmg",
"deb",
"nsis",
"msi",
"appimage"
],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": [
"../../src/openhuman/agent/prompts",
"recipes/**/*"
],
"externalBin": [
"binaries/openhuman-core"
],
"createUpdaterArtifacts": false,
"macOS": {
"minimumSystemVersion": "10.15",
"entitlements": "entitlements.sidecar.plist",
"infoPlist": "Info.plist",
"dmg": {
"background": "./images/background-dmg.png"
}
}
},
"plugins": {
"updater": {
"active": false,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDc0OTREMjkxREFCNUIzRTEKUldUaHM3WGFrZEtVZEJzZWtMTlc5dGxnT0R2Q3hUTWVaclJWSm9JUFpPcVFUV2RBSG5oNFN6UjQK",
"endpoints": [
"https://github.com/tinyhumansai/openhuman/releases/latest/download/latest.json"
]
},
"deep-link": {
"desktop": {
"schemes": [
"openhuman"
]
}
}
}
}