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 e203560 commit f6f8ccbCopy full SHA for f6f8ccb
src/utils/originConfig.ts
@@ -55,4 +55,4 @@ if (netlifyProjectName) {
55
CORS_ORIGIN.push(new RegExp(`https://deploy-preview-\\d+--${netlifyProjectName}\\.netlify\\.app$`, 'i'));
56
}
57
58
-export const SAME_SITE = allowedOrigins.length > 1 ? 'none' : 'strict';
+export const SAME_SITE = allowedOrigins.length > 1 || netlifyProjectName ? 'none' : 'strict';
0 commit comments