From 91d53ba10a13089482efb4d3c2a07a068e689d6e Mon Sep 17 00:00:00 2001 From: Esdras Renan Date: Thu, 16 Oct 2025 16:10:23 -0300 Subject: [PATCH] =?UTF-8?q?api:=20/api/machines/session=20em=20runtime=20n?= =?UTF-8?q?odejs=20para=20leitura=20est=C3=A1vel=20de=20cookies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/api/machines/session/route.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/api/machines/session/route.ts b/src/app/api/machines/session/route.ts index 9be66dd..1d8a27f 100644 --- a/src/app/api/machines/session/route.ts +++ b/src/app/api/machines/session/route.ts @@ -10,6 +10,9 @@ import { DEFAULT_TENANT_ID } from "@/lib/constants" const MACHINE_CTX_COOKIE = "machine_ctx" +// Força runtime Node.js para leitura consistente de cookies de sessão +export const runtime = "nodejs" + type CollaboratorMetadata = { email: string name: string | null