Skip to content

Commit

Permalink
changelog for DASH_PROXY and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed May 31, 2020
1 parent c0c8c7f commit 7814009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [UNRELEASED]
### Added
- [#1289](https://github.com/plotly/dash/pull/1289) Supports `DASH_PROXY` env var to tell `app.run_server` to report the correct URL to view your app, when it's being proxied. Throws an error if the proxy is incompatible with the host and port you've given the server.
- [#1240](https://github.com/plotly/dash/pull/1240) Adds `callback_context` to clientside callbacks (e.g. `dash_clientside.callback_context.triggered`). Supports `triggered`, `inputs`, `inputs_list`, `states`, and `states_list`, all of which closely resemble their serverside cousins.

### Changed
Expand Down
2 changes: 1 addition & 1 deletion dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ def verify_url_part(served_part, url_part, part_name):
else:
display_url = (protocol, host, ":{}".format(port), path)

self.logger.info("Running on {}://{}{}{}".format(*display_url))
self.logger.info("Running on %s://%s%s%s", *display_url)

if not os.environ.get("FLASK_ENV"):
os.environ["FLASK_ENV"] = "development"
Expand Down

0 comments on commit 7814009

Please sign in to comment.