express-stats
Advanced tools
Comparing version 0.0.1 to 0.0.2
'use strict'; | ||
var fs = require('fs'); | ||
var fs = require('fs'), | ||
path = require('path'), | ||
cors = require('cors'); | ||
@@ -16,2 +18,6 @@ module.exports = createMethods; | ||
app.use(cors()); | ||
app.set('views', path.normalize(__dirname + '../views')); | ||
app.engine('json', require('ejs').renderFile); | ||
// GET /system/logs/{logType} | ||
@@ -18,0 +24,0 @@ app.get(options.basePath + '/system/logs/:logType', function (req, res) { |
{ | ||
"name": "express-stats", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Runtime statics for express production servers", | ||
@@ -14,3 +14,4 @@ "main": "app.js", | ||
"dependencies": { | ||
"express": ">=4.12.13" | ||
"express": ">=4.12.13", | ||
"cors": ">=2.5.3" | ||
}, | ||
@@ -17,0 +18,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
2270
48
2
+ Addedcors@>=2.5.3
+ Addedcors@2.8.5(transitive)
+ Addedobject-assign@4.1.1(transitive)