From 6a304ec87fee78fb0ef02831f14ae203aa4899a4 Mon Sep 17 00:00:00 2001 From: Josue Date: Wed, 10 Feb 2021 18:56:58 -0500 Subject: [PATCH] fix: correct typo and add missing quotation mark --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e5aeb30b0e..606c8689b8 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ router.get('/', (req, res) => { }); // Define your microservice, providing some options (see below) -const service = new Satellite({ name: 'my-service}); +const service = new Satellite({ name: 'my-service'}); // Start the service on the specified port service.start(8888, () => { @@ -44,6 +44,6 @@ service.start(8888, () => { - `healthCheck`: an optional `function` returning a `Promise`, used to determine if the service is healthy. If no function is defined, a default one will be provided. The `healthCheck` function is what runs at the `/healthcheck` route by default. -- `cors`: the options to pass to the [cors](https://www.npmjs.com/package/cors) middlware. By default all options are turned on. Use `cors: false` to disable cors. +- `cors`: the options to pass to the [cors](https://www.npmjs.com/package/cors) middleware. By default all options are turned on. Use `cors: false` to disable cors. - `helmet`: the options to pass to the [helmet](https://www.npmjs.com/package/helmet) middleware. By default all options are turned on. Use `helmet: false` to disable helmet.