ManimCat-show / src /utils /request-client-id.ts
Bin29's picture
Sync from main: 68df783 feat: support multimodal studio reference images
d47b053
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
}