From 64114c0db28d8da73828996e77d40ee6d663fb5f Mon Sep 17 00:00:00 2001 From: v-electrolux Date: Thu, 2 May 2024 12:11:10 +0300 Subject: [PATCH] fix linting issue --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 670420e..1e1d1ba 100644 --- a/src/utils.js +++ b/src/utils.js @@ -48,7 +48,7 @@ const getUrlObject = (req) => { const urlObject = new URL(`${req.protocol}://${req.headers.host}/`); // support overriding hostname by sending X-Forwarded-Host http header urlObject.hostname = req.hostname; - + // support add url prefix by sending X-Forwarded-Path http header const xForwardedPath = req.get('X-Forwarded-Path'); if (xForwardedPath) {