We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7043b94 commit e58da26Copy full SHA for e58da26
src/backend/src/services/WebServerService.js
@@ -392,7 +392,7 @@ class WebServerService extends BaseService {
392
// NOTE: This is put behind a configuration flag because we
393
// need some experimentation to ensure the interface
394
// between apps and Puter doesn't break.
395
- if ( config.cross_origin_isolation ) {
+ if ( config.cross_origin_isolation && is_site ) {
396
res.setHeader('Cross-Origin-Opener-Policy', 'same-origin');
397
res.setHeader('Cross-Origin-Embedder-Policy', 'require-corp');
398
}
0 commit comments