[examples] fix styling and bad spaces

This commit is contained in:
cronopio 2013-11-07 18:06:12 -05:00
parent a467b7b4a9
commit 6a6dfbb79d
2 changed files with 9 additions and 7 deletions

View File

@ -4,7 +4,8 @@ var httpProxy = require('../lib/http-proxy'),
* Create your proxy server pointing to a secure domain
* Enable ssl validation
*/
var options = { target : 'https://google.com',
var options = {
target : 'https://google.com',
agent : https.globalAgent,
headers: {host: 'google.com'}
};

View File

@ -2,7 +2,8 @@ var httpProxy = require('../lib/http-proxy');
/*
* Create your proxy server pointing to a secure domain
*/
var options = { target:'https://google.com',
var options = {
target:'https://google.com',
headers: {host: 'google.com'}
};