From 480a8834dc920508e871a908c7a28b3e92b197c5 Mon Sep 17 00:00:00 2001 From: Hongbo Miao Date: Fri, 16 Oct 2020 06:40:28 +0800 Subject: [PATCH] docs(readme): make easier to read --- README.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 341108c..8d8a155 100644 --- a/README.md +++ b/README.md @@ -16,23 +16,23 @@ const reportTo = require('report-to') // ... app.use(reportTo({ - groups: [ - { - group: "endpoint-1", - max_age: 10886400, - include_subdomains: true, - endpoints: [ - { - url: "https://example.com/reports", - priority: 1 - }, - { - url: "https://backup.com/reports", - priority: 2 - } - ] - } - ] + groups: [ + { + group: "endpoint-1", + max_age: 10886400, + include_subdomains: true, + endpoints: [ + { + url: "https://example.com/reports", + priority: 1 + }, + { + url: "https://backup.com/reports", + priority: 2 + } + ] + } + ] })) ```