We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3ac87 commit 6c7a934Copy full SHA for 6c7a934
.travis.yml
@@ -4,7 +4,7 @@ services:
4
- mongodb
5
- redis-server
6
env:
7
- - MONGOLAB_URL=mongodb://127.0.0.1/snipe RATE_LIMIT=10
+ - MONGOLAB_URL=mongodb://127.0.0.1/snipe RATE_LIMIT=10 REDIS_URL=redis://127.0.0.1/1
8
addons:
9
apt:
10
sources:
test/routes/index.js
@@ -52,7 +52,7 @@ app.use('/',router);
52
53
// req.method = '';
54
55
-var agent = request.agent('http://0.0.0.0:'+config.port+'');
+var agent = request.agent(app);
56
57
describe('Test rate limiting', function(){
58
0 commit comments