mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-01-13 22:42:02 +01:00
phoenix-conn: formatting
This commit is contained in:
parent
b9e9a33111
commit
382f085c93
@ -98,6 +98,9 @@ conn
|
||||
|> put_layout(:foo)
|
||||
|> put_layout(false)
|
||||
|> put_view(ErrorView)
|
||||
```
|
||||
|
||||
```elixir
|
||||
|> put_secure_browser_headers()
|
||||
# prevent clickjacking, nosniff, and xss protection
|
||||
# x-frame-options, x-content-type-options, x-xss-protection
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user