mirror of
https://github.com/xtekky/gpt4free.git
synced 2026-04-22 15:47:11 +08:00
Restrict fullscreen=() in Permissions-Policy to match restrictive approach for all APIs
Agent-Logs-Url: https://github.com/xtekky/gpt4free/sessions/bf9b023a-6921-41be-b964-7b245db2fb4f Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
63e6ddfd7e
commit
5266787038
+1
-1
@@ -963,7 +963,7 @@ class Api:
|
||||
# Restrict powerful browser APIs that workspace pages don't need
|
||||
"Permissions-Policy": (
|
||||
"geolocation=(), camera=(), microphone=(), "
|
||||
"payment=(), usb=(), fullscreen=self"
|
||||
"payment=(), usb=(), fullscreen=()"
|
||||
),
|
||||
"Cache-Control": "no-store",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user