api: /api/machines/session em runtime nodejs para leitura estável de cookies

This commit is contained in:
Esdras Renan 2025-10-16 16:10:23 -03:00
parent 05ffdf7876
commit 91d53ba10a

View file

@ -10,6 +10,9 @@ import { DEFAULT_TENANT_ID } from "@/lib/constants"
const MACHINE_CTX_COOKIE = "machine_ctx" 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 = { type CollaboratorMetadata = {
email: string email: string
name: string | null name: string | null