mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[examples] fix styling and bad spaces
This commit is contained in:
parent
a467b7b4a9
commit
6a6dfbb79d
@ -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'}
|
||||
};
|
||||
|
||||
@ -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'}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user