We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad29bd0 commit 0b5660bCopy full SHA for 0b5660b
1 file changed
src/auth.js
@@ -41,7 +41,7 @@ async function fetchUserInfo(accessToken) {
41
}
42
43
44
-async function getOriginalUrl(req) {
+function getOriginalUrl(req) {
45
const originalHost = req.headers["x-forwarded-host"] || req.get("host")
46
const originalProto = req.headers["x-forwarded-proto"] || req.protocol
47
const originalUri = req.headers["x-forwarded-uri"] || req.originalUrl
0 commit comments