express-stats
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -5,3 +5,2 @@ 'use strict'; | ||
path = require('path'), | ||
cors = require('cors'), | ||
root = path.normalize(__dirname + '../../..'); | ||
@@ -11,2 +10,6 @@ | ||
// enable cors | ||
// provide swagger in /views/swagger.json | ||
// mkdir /logs and chmod 700 -R /logs | ||
// provide /logs/error.log /logs/forever.log /logs/console.log | ||
// options = { hostname: 'example.com', basePath: '/v0' } | ||
@@ -21,3 +24,2 @@ function createMethods(app, options) { | ||
app.use(cors()); | ||
app.set('views', root + '/views'); | ||
@@ -24,0 +26,0 @@ app.engine('json', require('ejs').renderFile); |
{ | ||
"name": "express-stats", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Runtime statics for express production servers", | ||
@@ -14,4 +14,3 @@ "main": "app.js", | ||
"dependencies": { | ||
"express": ">=4.12.3", | ||
"cors": ">=2.5.3" | ||
"express": ">=4.12.3" | ||
}, | ||
@@ -18,0 +17,0 @@ "repository": "georgschlenkhoff/express-stats", |
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
2380
1
51
- Removedcors@>=2.5.3
- Removedcors@2.8.5(transitive)
- Removedobject-assign@4.1.1(transitive)