Chat: a GIF picker kept family-friendly, sharing a place, and Signal conversations in the Chat list
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3ddf9942c2
commit
584a95753d
16 files changed
+200
-13
No files matched your search
@@ -614,7 +614,7 @@ function securityHeaders(res) {
|
||||
res.setHeader('Referrer-Policy', 'same-origin');
|
||||
res.setHeader('Content-Security-Policy', "frame-ancestors 'self'; base-uri 'self'; object-src 'none'; form-action 'self'");
|
||||
res.setHeader('Content-Security-Policy-Report-Only', screentime.policy()); // (reports only: nothing is blocked)
|
||||
res.setHeader('Permissions-Policy', 'camera=(self), geolocation=(), payment=()');
|
||||
res.setHeader('Permissions-Policy', 'camera=(self), geolocation=(self), payment=()');
|
||||
if (process.env.PUBLIC_URL && process.env.PUBLIC_URL.startsWith('https://')) res.setHeader('Strict-Transport-Security', 'max-age=15552000');
|
||||
}
|
||||
/** Cross-site request check: a browser request that changes something must come from this same site. */
|
||||
|
||||
Reference in new issue
Block a user