Skip to content

Commit

Permalink
docs(readme): make easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
hongbo-miao committed Oct 15, 2020
1 parent b8dea39 commit 480a883
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 480a883

Please sign in to comment.