Skip to content

Commit b4d8824

Browse files
committed
change CDN of bokeh and plotly libs
1 parent e6f60ab commit b4d8824

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pywebio/platform/bokeh.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<script type="text/javascript">
1010
require.config({
1111
paths: {
12-
"bokeh": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh.min",
13-
"bokeh-widgets": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-widgets.min",
14-
"bokeh-tables": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-tables.min",
15-
"bokeh-api": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-api.min",
16-
"bokeh-gl": "https://cdn.jsdelivr.net/npm/@bokeh/bokehjs@__version__/build/js/bokeh-gl.min",
12+
"bokeh": "https://cdn.bokeh.org/bokeh/release/bokeh-__version__.min",
13+
"bokeh-widgets": "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-__version__.min",
14+
"bokeh-tables": "https://cdn.bokeh.org/bokeh/release/bokeh-tables-__version__.min",
15+
"bokeh-api": "https://cdn.bokeh.org/bokeh/release/bokeh-api-__version__.min",
16+
"bokeh-gl": "https://cdn.bokeh.org/bokeh/release/bokeh-gl-__version__.min",
1717
},
1818
shim: {
1919
'bokeh': {

pywebio/platform/tpl/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
require.config({
7979
paths: {
80-
'plotly': "https://cdn.jsdelivr.net/npm/plotly.js/dist/plotly.min", // 'https://cdn.plot.ly/plotly-latest.min'
80+
'plotly': "https://cdn.plot.ly/plotly-latest.min",
8181
},
8282
});
8383

0 commit comments

Comments
 (0)