fix(call): fix audio calls

This commit is contained in:
Andrey committed 2026-08-01 00:37:24 +03:00
1 parent 7db1a3de88
commit bb7ed5e8f9
143 files changed
+3536 -10218

No files matched your search

+3 -1
View File
@@ -41,7 +41,9 @@ server {
}
location /calls/ {
add_header Content-Security-Policy "default-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data:; media-src 'self' blob:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;
# Vite injects the React Refresh preamble inline in development. Production
# uses the strict policy from frontend.production.conf.
add_header Content-Security-Policy "default-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data:; media-src 'self' blob:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;
add_header Permissions-Policy "camera=(self), microphone=(self)" always;
rewrite ^ /chat/call.html break;
proxy_pass http://web-chat:5175;