Comparing version 0.2.1 to 0.2.2
@@ -29,3 +29,3 @@ module.exports = MiddlewareBase => class SPA extends MiddlewareBase { | ||
const assetTest = new RegExp(options['spa.asset-test'] || '\\.') | ||
this.emit('verbose', 'middleware.spa.config', { root, assetTest }) | ||
this.emit('verbose', 'middleware.spa.config', { spa, root, assetTest }) | ||
return _.get('*', (ctx, route, next) => { | ||
@@ -32,0 +32,0 @@ if (ctx.accepts('text/html') && !assetTest.test(route)) { |
{ | ||
"name": "lws-spa", | ||
"author": "Lloyd Brookes <75pound@gmail.com>", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Middleware adding support for Single Page Applications to lws", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/lwsjs/spa.git", |
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
23861