File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ var httpProxy = require('../lib/http-proxy'),
4
4
* Create your proxy server pointing to a secure domain
5
5
* Enable ssl validation
6
6
*/
7
- var options = { target : 'https://google.com' ,
8
- agent : https . globalAgent ,
9
- headers : { host : 'google.com' }
10
- } ;
7
+ var options = {
8
+ target : 'https://google.com' ,
9
+ agent : https . globalAgent ,
10
+ headers : { host : 'google.com' }
11
+ } ;
11
12
12
13
var proxyServer = httpProxy . createProxyServer ( options ) ;
13
14
console . log ( "Proxy server listening on port 8000" ) ;
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ var httpProxy = require('../lib/http-proxy');
2
2
/*
3
3
* Create your proxy server pointing to a secure domain
4
4
*/
5
- var options = { target :'https://google.com' ,
6
- headers : { host : 'google.com' }
7
- } ;
5
+ var options = {
6
+ target :'https://google.com' ,
7
+ headers : { host : 'google.com' }
8
+ } ;
8
9
9
10
var proxyServer = httpProxy . createProxyServer ( options ) ;
10
11
console . log ( "Proxy server listening on port 8000" ) ;
You can’t perform that action at this time.
0 commit comments