Skip to content

Commit

Permalink
change CDN of bokeh and plotly libs
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed May 22, 2022
1 parent e6f60ab commit b4d8824
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pywebio/platform/bokeh.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<script type="text/javascript">
require.config({
paths: {
"bokeh": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh.min",
"bokeh-widgets": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-widgets.min",
"bokeh-tables": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-tables.min",
"bokeh-api": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-api.min",
"bokeh-gl": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-gl.min",
"bokeh": "https://cdn.bokeh.org/bokeh/release/bokeh-__version__.min",
"bokeh-widgets": "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-__version__.min",
"bokeh-tables": "https://cdn.bokeh.org/bokeh/release/bokeh-tables-__version__.min",
"bokeh-api": "https://cdn.bokeh.org/bokeh/release/bokeh-api-__version__.min",
"bokeh-gl": "https://cdn.bokeh.org/bokeh/release/bokeh-gl-__version__.min",
},
shim: {
'bokeh': {
Expand Down
2 changes: 1 addition & 1 deletion pywebio/platform/tpl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

require.config({
paths: {
'plotly': "https://cdn.jsdelivr.net/npm/plotly.js/dist/plotly.min", // 'https://cdn.plot.ly/plotly-latest.min'
'plotly': "https://cdn.plot.ly/plotly-latest.min",
},
});

Expand Down

0 comments on commit b4d8824

Please sign in to comment.