@smarterservices/ims-lti
Advanced tools
Comparing version 3.0.6 to 3.0.7
@@ -69,5 +69,9 @@ // Generated by CoffeeScript 1.12.5 | ||
protocol = (encrypted && 'https') || 'http'; | ||
if (req.headers['x-forwarded-proto']) { | ||
protocol = req.headers['x-forwarded-proto']; | ||
} | ||
} | ||
parsedUrl = url.parse(originalUrl, true); | ||
hitUrl = protocol + '://' + req.headers.host + parsedUrl.pathname; | ||
console.log(hitUrl); | ||
return this.build_signature_raw(hitUrl, parsedUrl, req.method, body, consumer_secret, token); | ||
@@ -74,0 +78,0 @@ }; |
{ | ||
"name": "@smarterservices/ims-lti", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "Module for building an LTI Tool Provider and accept LTI launch requests", | ||
@@ -5,0 +5,0 @@ "private": false, |
44218
854