remix-auth-email-link
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -135,5 +135,5 @@ "use strict"; | ||
} | ||
const protocol = (_b = request.headers.get('X-Forwarded-Proto')) !== null && _b !== void 0 ? _b : (host.includes('localhost') || host.includes('127.0.0.1') | ||
const protocol = host.includes('localhost') || host.includes('127.0.0.1') | ||
? 'http' | ||
: 'https'); | ||
: (_b = request.headers.get('X-Forwarded-Proto')) !== null && _b !== void 0 ? _b : 'https'; | ||
return `${protocol}://${host}`; | ||
@@ -140,0 +140,0 @@ } |
{ | ||
"name": "remix-auth-email-link", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "./build/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./build/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30649