@foal/core
Advanced tools
Comparing version 0.7.0 to 0.7.2
@@ -24,3 +24,4 @@ "use strict"; | ||
const app = expressInstance || express(); | ||
app.use(logger('[:date] ":method :url HTTP/:http-version" :status - :response-time ms')); | ||
const loggerFormat = core_1.Config.get('settings', 'loggerFormat', '[:date] ":method :url HTTP/:http-version" :status - :response-time ms'); | ||
app.use(logger(loggerFormat)); | ||
app.use(express.static(path.join(process.cwd(), core_1.Config.get('settings', 'staticUrl', '/public')))); | ||
@@ -27,0 +28,0 @@ app.use(helmet()); |
{ | ||
"name": "@foal/core", | ||
"version": "0.7.0", | ||
"version": "0.7.2", | ||
"description": "High level web framework to create enterprise-grade Node.JS applications.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
86789
2012