Skip to content

Commit

Permalink
Merge pull request #34 from Hongbo-Miao/patch-2
Browse files Browse the repository at this point in the history
docs(readme): make easier to read
  • Loading branch information
Cherry committed Oct 18, 2020
2 parents a27aa2c + 480a883 commit fb865d2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
]
}))
```

Expand Down

0 comments on commit fb865d2

Please sign in to comment.