mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Fix lint error
This commit is contained in:
parent
0922b3c215
commit
356b82f443
|
@ -6,7 +6,7 @@ import HasHeader from "../..//utils/HasHeader";
|
||||||
export class RequestUrlGetter {
|
export class RequestUrlGetter {
|
||||||
static getOriginalUrl(req: Express.Request): string {
|
static getOriginalUrl(req: Express.Request): string {
|
||||||
|
|
||||||
if HasHeader(req, Constants.HEADER_X_ORIGINAL_URL) {
|
if (HasHeader(req, Constants.HEADER_X_ORIGINAL_URL)) {
|
||||||
return GetHeader(req, Constants.HEADER_X_ORIGINAL_URL);
|
return GetHeader(req, Constants.HEADER_X_ORIGINAL_URL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user