File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dist/components/proxy-middleware/middlewares
src/components/proxy-middleware/middlewares Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class SslCertMiddleware {
1919 if ( ctx . clientToProxyRequest . headers . host == "requestly.io" &&
2020 ctx . clientToProxyRequest . url . indexOf ( "/ssl" ) == 0 ) {
2121 ctx . proxyToClientResponse . writeHead ( 200 , {
22- "Content-Type" : "text/plain " ,
22+ "Content-Type" : "application/x-x509-ca-cert " ,
2323 "Content-Disposition" : "attachment;filename=RQProxyCA.pem.crt" ,
2424 } ) ;
2525 const certificateString = fs . readFileSync ( this . rootCertPath ) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class SslCertMiddleware {
1616 ctx . clientToProxyRequest . url . indexOf ( "/ssl" ) == 0
1717 ) {
1818 ctx . proxyToClientResponse . writeHead ( 200 , {
19- "Content-Type" : "text/plain " ,
19+ "Content-Type" : "application/x-x509-ca-cert " ,
2020 "Content-Disposition" : "attachment;filename=RQProxyCA.pem.crt" ,
2121 } ) ;
2222 const certificateString = fs . readFileSync ( this . rootCertPath ) ;
You can’t perform that action at this time.
0 commit comments