Revert "Fixed private mode cookie for local development (#17938)" (#19298)

This reverts commit f303eee8a4.

refs https://ghost.slack.com/archives/C0568LN2CGJ/p1702277420152709
https://linear.app/tryghost/issue/PROD-46/rss-url-for-private-mode-site-is-hardcoded
This commit is contained in:
Ronald Langeveld 2023-12-11 11:18:03 +02:00 committed by GitHub
parent 29f9322cf3
commit c969dd18a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,8 +55,7 @@ const privateBlogging = {
name: 'ghost-private',
maxAge: constants.ONE_MONTH_MS,
signed: false,
sameSite: urlUtils.isSSL(config.get('url')) ? 'none' : 'lax',
secure: urlUtils.isSSL(config.get('url'))
sameSite: 'none'
})(req, res, next);
},