Skip to content
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.

Commit

Permalink
changed host to include http://
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallen23 committed May 24, 2012
1 parent 9f1dbb6 commit c53373a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Report.prototype.fetch = function(cb) {
var stop = tomorrow.toISOString();

var queue = resistance.queue(function(metric, done) {
var url = strf('http://{host}/1.0/metric?expression={expression}&start={start}&stop={stop}&step={step}', {
var url = strf('{host}/1.0/metric?expression={expression}&start={start}&stop={stop}&step={step}', {
host: self.host,
expression: metric.expression,
start: start,
Expand Down
4 changes: 2 additions & 2 deletions sample-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cubeHost": "127.0.0.1:1081",
"cubeHost": "http://127.0.0.1:1081",
"email": {
"from": "Cube Reports <change@me.com>"
"from": "Cube Reports <change@me.com>",
"service": "SendGrid",
"auth": {
"user": "user",
Expand Down

0 comments on commit c53373a

Please sign in to comment.