api: /api/machines/session em runtime nodejs para leitura estável de cookies
This commit is contained in:
parent
05ffdf7876
commit
91d53ba10a
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue