Skip to content

Commit

Permalink
feat(import): disable certificate check
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe authored Jul 11, 2022
1 parent c4e968b commit 870e147
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/server/HelixImportServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ import path from 'path';
import express from 'express';
import cookieParser from 'cookie-parser';
import { PassThrough } from 'stream';
import { fetch } from '../fetch-utils.js';
import { context as fetchContext } from '@adobe/helix-fetch';
import utils from './utils.js';
import packageJson from '../package.cjs';
import RequestContext from './RequestContext.js';

const { fetch } = fetchContext({ rejectUnauthorized: false });

const DEFAULT_PORT = 3001;

/**
Expand Down

0 comments on commit 870e147

Please sign in to comment.