From 095ee9d1bddc562ba3f577bc6bc1dd93669bafa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Wed, 22 Mar 2017 09:49:22 +0100 Subject: [PATCH] Fix markdown formatting in README --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index deb8fb9..35fcd23 100644 --- a/README.md +++ b/README.md @@ -171,34 +171,34 @@ To migrate a LoopBack 2.x application to use `strong-error-handler`: "errorHandler": { "disableStackTrace": false } - and replace it with: -
-  "remoting": {
-    ...,
-    "rest": {
-      "handleErrors": false
-    }
+ and replace it with: +
+    "remoting": {
+      ...,
+      "rest": {
+        "handleErrors": false
+      }
1. In `server/middleware.json`, remove:
     "final:after": {
       "loopback#errorHandler": {}
     }
- and replace it with: + and replace it with:
     "final:after": {
       "strong-error-handler": {}
     }
1. Delete `server/middleware.production.json`. 1. Create `server/middleware.development.json` containing: -
-  "final:after": {
-    "strong-error-handler": {
-      "params": {
-        "debug": true,
-        "log": true
+    
+    "final:after": {
+      "strong-error-handler": {
+        "params": {
+          "debug": true,
+          "log": true
+        }
       }
     }
-  }
 
For more information, see