mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-22 14:19:08 +00:00
FIX: add logger in header
This commit is contained in:
@@ -187,7 +187,7 @@ export class IdentityProviderController {
|
||||
|
||||
|
||||
const frontDomain = req.headers['origin'] as string || req.headers['referer'] as string;
|
||||
console.log('Origin:', origin);
|
||||
this.logger.info(`Front domain: ${frontDomain}`);
|
||||
const host = frontDomain.lastIndexOf('/') !== -1
|
||||
? frontDomain.substring(0, frontDomain.lastIndexOf('/'))
|
||||
: frontDomain;
|
||||
|
||||
Reference in New Issue
Block a user