express-route-builder
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -56,4 +56,6 @@ 'use strict'; | ||
*/ | ||
addStatic (dir, mountPath = null) { | ||
addStatic (_dir, mountPath = null) { | ||
const dir = pathify(this.baseDir, _dir); | ||
if (mountPath) { | ||
@@ -60,0 +62,0 @@ this.app.use(this.express.static(mountPath, dir)); |
@@ -10,3 +10,3 @@ { | ||
"name": "express-route-builder", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Quickly compile Express.js routes with minimal code.", | ||
@@ -13,0 +13,0 @@ "keywords": [ |
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
7573
113