hapi-router
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -18,3 +18,4 @@ 'use strict' | ||
files.forEach(function (file) { | ||
server.route(require(globOptions.cwd + '/' + file)) | ||
var route = require(globOptions.cwd + '/' + file) | ||
server.route(route.default || route) | ||
}) | ||
@@ -21,0 +22,0 @@ }) |
{ | ||
"name": "hapi-router", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Opinionated route loader for hapi", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
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
5601
23