Skip to content

Commit

Permalink
rejectUnauthorized false
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Jan 4, 2024
1 parent 63449ef commit 367f999
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ZelBack/src/services/appsService.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* global userconfig */
const config = require('config');
const https = require('https');
const axios = require('axios');
const express = require('express');
const http = require('http');
Expand Down Expand Up @@ -10522,8 +10523,12 @@ async function masterSlaveApps() {
if (appsInstalled.status === 'error') {
return;
}
const agent = new https.Agent({
rejectUnauthorized: false,
});
const axiosOptions = {
timeout: 10000,
httpsAgent: agent,
};
// eslint-disable-next-line no-restricted-syntax
for (const installedApp of appsInstalled.data) {
Expand Down

0 comments on commit 367f999

Please sign in to comment.