Skip to content

Commit

Permalink
Fix CDN path for serve_locally=False (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Andre-Rivet authored Nov 26, 2019
1 parent 0b0b652 commit 2547da5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [0.4.5] - 2019-11-26
* [#452](https://github.com/plotly/dash-bio/pull/452) Fix issue finding CDN resources when using `serve_locally=False`

## [0.4.4] - 2019-11-21
### Fixed
* [#423](https://github.com/plotly/dash-bio/pull/423) Fixed internal method
Expand Down
6 changes: 3 additions & 3 deletions dash_bio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'relative_package_path': 'async~{}.js'.format(async_resource),
'external_url': (
'https://unpkg.com/dash-bio@{}'
'/dash_bio/async~{}.js'
'/' + package_name + '/async~{}.js'
).format(__version__, async_resource),
'namespace': 'dash_bio',
'async': True
Expand All @@ -60,7 +60,7 @@
'relative_package_path': 'async~{}.js.map'.format(async_resource),
'external_url': (
'https://unpkg.com/dash-bio@{}'
'/dash_bio/async~{}.js.map'
'/' + package_name + '/async~{}.js.map'
).format(__version__, async_resource),
'namespace': 'dash_bio',
'dynamic': True
Expand All @@ -70,7 +70,7 @@
{
'relative_package_path': 'bundle.js',
'external_url': (
'https://unpkg.com/dash-bio{}'
'https://unpkg.com/dash-bio@{}'
'/' + package_name + '/bundle.js'
).format(__version__),
'namespace': package_name
Expand Down
2 changes: 1 addition & 1 deletion dash_bio/bundle.js

Large diffs are not rendered by default.

0 comments on commit 2547da5

Please sign in to comment.