Skip to content

Commit

Permalink
Merge pull request brokenhandsio#22 from ileitch/patch-1
Browse files Browse the repository at this point in the history
Fix API example.
  • Loading branch information
0xTim authored Jun 8, 2020
2 parents 8796636 + dfc84c6 commit 56b250f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ If you are running an API you can choose a default configuration for that by cre

```swift
let securityHeaders = SecurityHeadersFactory.api()
application.middleware.use(securityHeaders)
application.middleware.use(securityHeaders.build())
```

```http
Expand Down Expand Up @@ -478,4 +478,4 @@ let securityHeadersFactory = SecurityHeadersFactory().with(referrerPolicy: refer

```http
referrer-policy: no-referrer
```
```

0 comments on commit 56b250f

Please sign in to comment.