File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import bodyParser from 'body-parser';
33import http from 'http' ;
44import https from 'https' ;
55import fs from 'fs' ;
6- import path from 'path' ;
76import { router } from './routes' ;
87import {
98 getAuthorisedList ,
@@ -24,8 +23,8 @@ const options = {
2423 inflate : true ,
2524 limit : '100000kb' ,
2625 type : '*/*' ,
27- key : getTLSEnabled ( ) ? fs . readFileSync ( path . join ( __dirname , getTLSKeyPemPath ( ) ) ) : undefined ,
28- cert : getTLSEnabled ( ) ? fs . readFileSync ( path . join ( __dirname , getTLSCertPemPath ( ) ) ) : undefined ,
26+ key : getTLSEnabled ( ) ? fs . readFileSync ( getTLSKeyPemPath ( ) ) : undefined ,
27+ cert : getTLSEnabled ( ) ? fs . readFileSync ( getTLSCertPemPath ( ) ) : undefined ,
2928} ;
3029
3130const proxyPreparations = async ( ) => {
You can’t perform that action at this time.
0 commit comments