mirror of
https://github.com/dartdavros/chatballs.git
synced 2026-10-05 09:14:58 +03:00
fix(call): fix audio calls
This commit is contained in:
1 parent
7db1a3de88
commit
bb7ed5e8f9
143 files changed
+3536
-10218
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user