forked from orbit-oss/flask
Merge pull request #3169 from DamianSkrzypczak/3168-improve-warning-about-dev-server-use-in-production
Fix dev-server warning message readability (#3168)
This commit is contained in:
commit
f2c854060a
1 changed files with 2 additions and 2 deletions
|
|
@ -644,8 +644,8 @@ def show_server_banner(env, debug, app_import_path, eager_loading):
|
|||
|
||||
if env == 'production':
|
||||
click.secho(
|
||||
' WARNING: Do not use the development server in a production'
|
||||
' environment.', fg='red')
|
||||
' WARNING: This is a development server. '
|
||||
'Do not use it in a production deployment.', fg='red')
|
||||
click.secho(' Use a production WSGI server instead.', dim=True)
|
||||
|
||||
if debug is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue