forked from orbit-oss/flask
Fix 0 port value being overriden by default
By explicitly comparing port value with None, instead of using its bool() value.
This commit is contained in:
parent
05102f63b8
commit
e1cc16f8be
3 changed files with 14 additions and 8 deletions
|
|
@ -42,6 +42,8 @@ Unreleased
|
|||
:pr:`3195`
|
||||
- Allow customizing the :attr:`Flask.url_map_class` used for routing.
|
||||
:pr:`3069`
|
||||
- The development server port can be set to 0, which tells the OS to
|
||||
pick an available port. :issue:`2926`
|
||||
|
||||
.. _#2935: https://github.com/pallets/flask/issues/2935
|
||||
.. _#2957: https://github.com/pallets/flask/issues/2957
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue