Skip to content

Commit

Permalink
docs: use warning admonition in README
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth committed Feb 28, 2023
1 parent c156003 commit d07c766
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ plug Plug.Static,
# Rest of the options…
```

**WARNING**: Current release of Plug (1.12.1) do not support `:encodings` option
yet and this option is ignored. So Zstandard-compressed files will not be served
to the clients, even if client will have support for such format. Future
releases of Plug however should make it work as expected. See
[elixir-plug/plug#1050][pr-1050].
> #### WARNING {: .warning }
>
> Plug 1.12 do not support `:encodings` option and this option is ignored.
> So Zstandard-compressed files will not be served to the clients, even
> if client will have support for such format.
Then you need to configure your compressors via Phoenix configuration:

Expand Down

0 comments on commit d07c766

Please sign in to comment.