ManimCat / src /utils /request-client-id.ts
Bin29's picture
Sync from main: c1ef036 chore: document docker persistence volumes
94e1b2f
import type express from 'express'
export function getRequestClientId(req: express.Request): string | undefined {
const clientId = String(req.headers['x-client-id'] || '').trim()
return clientId || undefined
}