Comparing version 5.0.0-rc2 to 5.0.0-rc4
@@ -51,3 +51,3 @@ 'use strict'; | ||
const handler = (request, reply) => { | ||
const handler = (request) => { | ||
@@ -54,0 +54,0 @@ const path = (typeof settings.path === 'function' ? settings.path(request) : settings.path); |
@@ -29,3 +29,3 @@ 'use strict'; | ||
server.decorate('responder', 'file', function (path, responseOptions) { | ||
server.decorate('toolkit', 'file', function (path, responseOptions) { | ||
@@ -32,0 +32,0 @@ // Set correct confine value |
{ | ||
"name": "inert", | ||
"description": "Static file and directory handlers plugin for hapi.js", | ||
"version": "5.0.0-rc2", | ||
"version": "5.0.0-rc4", | ||
"repository": "https://github.com/hapijs/inert.git", | ||
@@ -29,3 +29,3 @@ "main": "lib/index.js", | ||
"code": "5.x.x", | ||
"hapi": "^17.0.0-rc2", | ||
"hapi": "^17.0.0-rc4", | ||
"lab": "14.x.x" | ||
@@ -32,0 +32,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
34329