@nodefony/http-bundle
Advanced tools
Comparing version 6.2.0 to 6.3.0
{ | ||
"name": "@nodefony/http-bundle", | ||
"version": "6.2.0", | ||
"version": "6.3.0", | ||
"description": "Nodefony Framework Bundle HTTP ", | ||
@@ -18,6 +18,6 @@ "contributors": [], | ||
"memcached": "^2.2.2", | ||
"mime": "^2.4.7", | ||
"mime": "^2.5.0", | ||
"mkdirp": "^1.0.4", | ||
"ms": "^2.1.3", | ||
"qs": "^6.9.4", | ||
"qs": "^6.9.6", | ||
"request": "^2.88.2", | ||
@@ -24,0 +24,0 @@ "serve-static": "^1.14.1", |
@@ -10,3 +10,3 @@ /* | ||
const checkSecureReferer = function () { | ||
const checkSecureReferer = function (context) { | ||
let host = null; | ||
@@ -17,3 +17,3 @@ switch (this.context.type) { | ||
case "HTTP2": | ||
host = this.context.request.request.headers.host; | ||
host = context.getHost(); | ||
break; | ||
@@ -20,0 +20,0 @@ case "WEBSOCKET": |
179919
Updatedmime@^2.5.0
Updatedqs@^6.9.6