Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove phantoms need for cookies

  • Loading branch information...
commit c7cc63c92243a80298e6b39d1460c5d19d0d335c 1 parent 707cc1b
Michael Mifsud authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  controllers/profile_controller.js
2  controllers/profile_controller.js
View
@@ -50,7 +50,7 @@ controller.new = function(req, res, next) {
controller.create = function(req, res, next) {
var format = req.param('format');
var url = req.param('url');
- var cmd = 'phantomjs --cookies-file=/tmp/uncle-ben/cookies.txt ' + req.app.set('helpers') + '/netsniff.js "' + url + '"';
+ var cmd = 'phantomjs ' + req.app.set('helpers') + '/netsniff.js "' + url + '"';
var output = shell.exec(cmd, {silent:true}).output;
var result = JSON.parse(output);
Please sign in to comment.
Something went wrong with that request. Please try again.