elixir-plug / plug

Compose web applications with functions
https://hex.pm/packages/plug
Other
2.84k stars 582 forks source link

Wrong port option in Bandit example #1147

Closed etnt closed 1 year ago

etnt commented 1 year ago

The way to define the 'port:' option was not correct.

whatyouhide commented 1 year ago

Awesome, thank you @etnt! 💟

mtrudel commented 1 year ago

Nice! I'd added top-level port setting in the latest Bandit for better ergonomics!

StandardMikeBenza commented 1 year ago

It looks like this fix hasn't been published to https://hexdocs.pm/plug/readme.html#hello-world-websockets yet.

josevalim commented 1 year ago

Published.