Closed vitr-nindeco closed 1 year ago
import https from "https";
const agent = new https.Agent({ rejectUnauthorized: false });
fetchOptions = { agent: agent }
const ipx = createIPX({ fetchOptions: fetchOptions });
export default createIPXMiddleware(ipx);
Anybody knows how can i set https.Agent options like "rejectUnauthorized" and "timeout" in
IPXOptions{fetchOptions}
? Agent creates in /src/sources/http.ts in function createHTTPSource.