From 6a6dfbb79dc156679f75dd519344d19a5b61613b Mon Sep 17 00:00:00 2001 From: cronopio Date: Thu, 7 Nov 2013 18:06:12 -0500 Subject: [PATCH] [examples] fix styling and bad spaces --- examples/https-secure.js | 9 +++++---- examples/https.js | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/https-secure.js b/examples/https-secure.js index 1027cd40f..83b87eb7c 100644 --- a/examples/https-secure.js +++ b/examples/https-secure.js @@ -4,10 +4,11 @@ var httpProxy = require('../lib/http-proxy'), * Create your proxy server pointing to a secure domain * Enable ssl validation */ -var options = { target : 'https://google.com', - agent : https.globalAgent, - headers: {host: 'google.com'} - }; +var options = { + target : 'https://google.com', + agent : https.globalAgent, + headers: {host: 'google.com'} +}; var proxyServer = httpProxy.createProxyServer(options); console.log("Proxy server listening on port 8000"); diff --git a/examples/https.js b/examples/https.js index cccc24683..364d7cb2f 100644 --- a/examples/https.js +++ b/examples/https.js @@ -2,9 +2,10 @@ var httpProxy = require('../lib/http-proxy'); /* * Create your proxy server pointing to a secure domain */ -var options = { target:'https://google.com', - headers: {host: 'google.com'} - }; +var options = { + target:'https://google.com', + headers: {host: 'google.com'} +}; var proxyServer = httpProxy.createProxyServer(options); console.log("Proxy server listening on port 8000");