1603
This commit is contained in:
parent
f23decf071
commit
1e9627e924
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ const nextConfig = {
|
|||
eslint: { ignoreDuringBuilds: true },
|
||||
typescript: { ignoreBuildErrors: true },
|
||||
|
||||
// ✅ Removido o experimental.runtime (incompatível no Next 15)
|
||||
// Removido o experimental.runtime (incompatível no Next 15)
|
||||
// O runtime agora é definido por rota ou via middleware (Edge/Node.js),
|
||||
// mas por padrão, tudo roda em Node.js quando "output: standalone" está ativo.
|
||||
};
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export default async function GUsuarioLoginService(form: any) {
|
|||
httpOnly: true,
|
||||
secure: process.env.NODE_ENV === 'production',
|
||||
sameSite: process.env.NODE_ENV === 'production' ? 'none' : 'lax',
|
||||
domain: process.env.NODE_ENV === 'production' ? '.http://saas_app/login' : undefined,
|
||||
domain: process.env.NODE_ENV === 'production' ? '.saas_app' : undefined,
|
||||
path: '/',
|
||||
maxAge: 60 * 60 * 24,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue