0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00

Fix a few examples using cert instead of certfile

This commit is contained in:
Loïc Hoguin 2019-05-13 11:25:00 +02:00
parent 8875b07b37
commit 3030c2d5c9
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ transport option to `verify_peer`:
----
{ok, _} = cowboy:start_tls(example, [
{port, 8443},
{cert, "path/to/cert.pem"},
{certfile, "path/to/cert.pem"},
{verify, verify_peer}
], #{
env => #{dispatch => Dispatch}