Skip to content

Commit

Permalink
Accept also unauthorized HTTPS (rejectUnauthorized option)
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 4, 2023
1 parent de90f82 commit 7d4c199
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ require("@babel/register")({

require('dotenv').config();

require('https').globalAgent.options.rejectUnauthorized = false;

const express = require('express');
const next = require('next');
const {createProxyMiddleware} = require('http-proxy-middleware');
Expand Down

0 comments on commit 7d4c199

Please sign in to comment.