Commit 0cc445db authored by Félix Hamel's avatar Félix Hamel

1.7.25-beta5

* Fixed really stupid bug 
parent 0e710f8a
......@@ -298,10 +298,10 @@ CMBF.prototype.launch = P.method(function(pluginOpts) {
if (request.method !== "options") {
// Filter
if(request.headers["user-agent"].indexOf("ELB-HealthChecker") > 0) {
if(request.headers["user-agent"].indexOf("ELB-HealthChecker") >= 0) {
return;
}
else if(request.headers["user-agent"].indexOf("uptimerobot") > 0) {
else if(request.headers["user-agent"].indexOf("uptimerobot") >= 0) {
return;
}
......@@ -327,10 +327,10 @@ CMBF.prototype.launch = P.method(function(pluginOpts) {
if (request.method !== "options") {
// Filter
if(request.headers["user-agent"].indexOf("ELB-HealthChecker") > 0) {
if(request.headers["user-agent"].indexOf("ELB-HealthChecker") >= 0) {
return;
}
else if(request.headers["user-agent"].indexOf("uptimerobot") > 0) {
else if(request.headers["user-agent"].indexOf("uptimerobot") >= 0) {
return;
}
......
{
"name": "cmbf-core",
"version": "1.7.25-beta4",
"version": "1.7.25-beta5",
"description": "Covistra Mobile-Backend Framework Core Module",
"main": "index.js",
"scripts": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment