We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f73b1f5 + 3efcca5 commit eaa17a1Copy full SHA for eaa17a1
src/app/api/auth/refresh/route.js
@@ -36,6 +36,7 @@ export async function POST(req) {
36
httpOnly: true,
37
secure: isProd,
38
sameSite: isProd ? 'none' : 'lax',
39
+ domain: isProd ? '.gdgocinha.com' : undefined,
40
});
41
42
}
src/app/api/signin/route.js
@@ -43,6 +43,7 @@ export async function POST(request) {
43
44
45
46
47
48
49
0 commit comments