diff --git a/nodejs_server_test_auth_basic_and_ssl/index.js b/nodejs_server_test_auth_basic_and_ssl/index.js index 6aa0a022..fc24cec3 100755 --- a/nodejs_server_test_auth_basic_and_ssl/index.js +++ b/nodejs_server_test_auth_basic_and_ssl/index.js @@ -22,7 +22,7 @@ var options = { rejectUnauthorized: false }; -appHttps.use('/', proxy('www.google.com')); +//appHttps.use('/', proxy('www.google.com')); appHttps.get('/', (req, res) => { console.log(JSON.stringify(req.headers)) const cert = req.connection.getPeerCertificate() @@ -201,6 +201,6 @@ app.get("/test-download-file", (req, res) => { app.listen(8082) -appProxy.use(cors()); -appProxy.use('/', proxy('www.google.com')); -appProxy.listen(8083); \ No newline at end of file +//appProxy.use(cors()); +//appProxy.use('/', proxy('www.google.com')); +//appProxy.listen(8083); \ No newline at end of file