6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
8 lines
193 B
JavaScript
8 lines
193 B
JavaScript
/**
|
|
* Get port from target
|
|
* Using proxyRes.req.agent.sockets to determine the target port
|
|
*/
|
|
export function getPort(sockets) {
|
|
return Object.keys(sockets || {})?.[0]?.split(':')[1];
|
|
}
|