fix: remove oauth from embeds

This commit is contained in:
David Nguyen
2025-02-27 14:08:59 +11:00
parent 596d30e2e5
commit ad520bb032
7 changed files with 25 additions and 17 deletions

View File

@ -49,7 +49,9 @@ export const appMiddleware = async (c: Context, next: Next) => {
if (pathname.startsWith('/t/')) {
debug.log('Setting preferred team url cookie');
setCookie(c, 'preferred-team-url', pathname.split('/')[2]);
setCookie(c, 'preferred-team-url', pathname.split('/')[2], {
sameSite: 'lax',
});
return;
}