Spaces:
Running
Running
File size: 215 Bytes
d47b053 | 1 2 3 4 5 6 7 | 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
}
|