46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "EuerChat",
|
|
"version": "0.1.0",
|
|
"identifier": "tv.euer.chat",
|
|
"build": {
|
|
"frontendDist": "../ui"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "EuerChat",
|
|
"width": 1100,
|
|
"height": 720,
|
|
"minWidth": 800,
|
|
"minHeight": 550,
|
|
"center": true,
|
|
"resizable": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": {
|
|
"default-src": "'self'",
|
|
"script-src": "'self'",
|
|
"style-src": "'self' 'unsafe-inline'",
|
|
"style-src-attr": "'unsafe-inline'",
|
|
"img-src": "'self' data: blob: https://chat.euer.tv",
|
|
"media-src": "'self' blob: https://*.euer.tv",
|
|
"worker-src": "'self' blob:",
|
|
"connect-src": "'self' ipc: http://ipc.localhost https://*.euer.tv",
|
|
"font-src": "'self'",
|
|
"object-src": "'none'",
|
|
"frame-src": "'none'",
|
|
"base-uri": "'self'",
|
|
"form-action": "'self'"
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": false,
|
|
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/icon.ico"]
|
|
}
|
|
}
|