new(core.gbapp): New API endpoint.
This commit is contained in:
parent
f830b01ac9
commit
0537e6f173
1 changed files with 1 additions and 9 deletions
10
src/app.ts
10
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue