mock names.. debug.. refactor.. options

This commit is contained in:
Lloyd Brookes
2016-06-18 10:13:27 +01:00
parent 9c3db53d27
commit aee47bc599
12 changed files with 123 additions and 78 deletions

View File

@ -9,7 +9,7 @@ ws.addLogging('dev')
.add({
optionDefinitions: optionDefinitions,
middleware: function (options) {
return cacheControl({ maxAge: options.middleware.maxage })
return cacheControl({ maxAge: options.maxage })
}
})
.addStatic()