Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Remove phantoms need for cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
xzyfer committed Jun 15, 2012
1 parent 707cc1b commit c7cc63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/profile_controller.js
Expand Up @@ -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);
Expand Down

0 comments on commit c7cc63c

Please sign in to comment.