keycloak-nodejs-middleware
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -73,6 +73,8 @@ "use strict"; | ||
data: data.toString(), | ||
httpsAgent: new https_1.default.Agent({ | ||
rejectUnauthorized: false, // set to false | ||
}), | ||
}; | ||
if (host.includes("https://")) { | ||
requestOptions.httpsAgent = new https_1.default.Agent({ | ||
rejectUnauthorized: false, | ||
}); | ||
} | ||
return [4 /*yield*/, (0, axios_1.default)(requestOptions)]; | ||
@@ -79,0 +81,0 @@ case 2: |
@@ -73,6 +73,8 @@ "use strict"; | ||
data: data.toString(), | ||
httpsAgent: new https_1.default.Agent({ | ||
rejectUnauthorized: false, // set to false | ||
}), | ||
}; | ||
if (host.includes("https://")) { | ||
requestOptions.httpsAgent = new https_1.default.Agent({ | ||
rejectUnauthorized: false, | ||
}); | ||
} | ||
return [4 /*yield*/, (0, axios_1.default)(requestOptions)]; | ||
@@ -79,0 +81,0 @@ case 2: |
{ | ||
"name": "keycloak-nodejs-middleware", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Keycloak middleware for nodejs apps", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
15806
10
286