diff --git a/src/app.ts b/src/app.ts index 44fd2e95..9af6044e 100644 --- a/src/app.ts +++ b/src/app.ts @@ -59,7 +59,7 @@ import * as winston from 'winston-logs-display'; import { RootData } from './RootData.js'; import { GBSSR } from '../packages/core.gbapp/services/GBSSR.js'; import { Mutex } from 'async-mutex'; -import {httpProxy} from 'http-proxy'; +import httpProxy from 'http-proxy'; /** * General Bots open-core entry point. @@ -311,14 +311,6 @@ export class GBServer { if (process.env.CERTIFICATE_PFX) { - // var options = { - // changeOrigin: true, - // target: { - // https: true - // } - // } - // httpProxy.createServer(443, 'www.google.com', options).listen(8001); - const options1 = { passphrase: process.env.CERTIFICATE_PASSPHRASE, pfx: fs.readFileSync(process.env.CERTIFICATE_PFX)