Fixed most lint errors

This commit is contained in:
DallonF
2012-09-06 10:50:53 -07:00
parent 6ffdbdf3cd
commit db24dce136
53 changed files with 517 additions and 876 deletions

View File

@@ -17,7 +17,7 @@ Proxy.prototype.handle = function (ctx, next) {
if(ctx.req && ctx.req.method !== 'GET') return next();
var remote = this.remote;
request.get(remote + ctx.url).pipe(ctx.res);
}
};
Proxy.label = 'HTTP Proxy';
Proxy.defaultPath = '/proxy';
@@ -28,4 +28,4 @@ Proxy.basicDashboard = {
, type: "text" //"textarea", "number", and "checkbox" work as well
, description: "The remote server to proxy to."
}]
}
};