Permalink
Browse files

Remove phantoms need for cookies

  • Loading branch information...
1 parent 707cc1b commit c7cc63c92243a80298e6b39d1460c5d19d0d335c @xzyfer committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers/profile_controller.js
@@ -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);

0 comments on commit c7cc63c

Please sign in to comment.