Comparing version 0.2.1 to 0.2.2
#!/usr/bin/env node | ||
var app, argv, bodyParser, express, fslib, http, ref, util, yargs; | ||
var app, argv, bodyParser, express, fslib, http, morgan, ref, util, yargs; | ||
@@ -10,2 +10,4 @@ fslib = require('fs'); | ||
morgan = require('morgan'); | ||
argv = require('yargs').usage('Usage: $0 [-b bind ip] [-p port] [-c config file] [-t template files] template expression').example('$0 -b 127.0.0.1 -p 6333 -t example-routes/iptable.template', 'Start shrvr at 127.0.0.1:6333 follow the template example-routes/iptable.template').option('b', { | ||
@@ -34,2 +36,4 @@ alias: 'bind-ip', | ||
app.use(morgan('combined')); | ||
app.set('trust proxy', true); | ||
@@ -36,0 +40,0 @@ |
{ | ||
"name": "shrvr", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Shell server", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
16426
334