Skip to content

Commit 58e67eb

Browse files
committed
fix: update Secure instantiation in aiohttp example for clarity
1 parent 37c4120 commit 58e67eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/frameworks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ If you are using a framework that is not listed here, `secure` can still be inte
690690
```python
691691
from secure import Secure
692692

693-
secure_headers = Secure().with_default_headers()
693+
secure_headers = Secure.with_default_headers()
694694

695695
def add_secure_headers(response):
696696
secure_headers.set_headers(response)

0 commit comments

Comments
 (0)