From 4ecc6e26cef6c8264441353a4a6ad05379aa37a3 Mon Sep 17 00:00:00 2001 From: Sep Date: Tue, 28 Jan 2014 21:51:59 +0800 Subject: [PATCH] Update README.md Syntax error correction --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c40c00529..a86128592 100644 --- a/README.md +++ b/README.md @@ -199,8 +199,8 @@ httpProxy.createServer({ port: 9009 }, ssl: { - key: fs.readFileSync('valid-ssl-key.pem'), 'utf8'), - cert: fs.readFileSync('valid-ssl-cert.pem'), 'utf8') + key: fs.readFileSync('valid-ssl-key.pem', 'utf8'), + cert: fs.readFileSync('valid-ssl-cert.pem', 'utf8') } }).listen(8009); ``` @@ -213,8 +213,8 @@ httpProxy.createServer({ // httpProxy.createServer({ ssl: { - key: fs.readFileSync('valid-ssl-key.pem'), 'utf8'), - cert: fs.readFileSync('valid-ssl-cert.pem'), 'utf8') + key: fs.readFileSync('valid-ssl-key.pem', 'utf8'), + cert: fs.readFileSync('valid-ssl-cert.pem', 'utf8') }, target: 'https://localhost:9010', secure: true // Depends on your needs, could be false.