Skip to content

Commit

Permalink
Update cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaell-lycan committed May 23, 2015
1 parent d424477 commit 8b9c800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yesterday.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var moment = require('moment'),
request = require('request');

debug('Job: Seed yesterday');
var url = 'http://localhost:8080/' + yesterday.format('YYYY-MM-DD');
var url = 'https://sabesp-api.herokuapp.com/' + yesterday.format('YYYY-MM-DD');
doRequest(url);

function doRequest(url) {
Expand Down

0 comments on commit 8b9c800

Please sign in to comment.