Skip to content

Commit 5b5f7e0

Browse files
committed
use pywebio self cdn (jsdelivr) to host aggrid js files
1 parent b37cee6 commit 5b5f7e0

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

pywebio/html/js/ag-grid-community.min.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pywebio/html/js/ag-grid-enterprise.min.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pywebio/platform/tpl/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
require.config({
8080
paths: {
8181
'plotly': "https://cdn.plot.ly/plotly-2.12.1.min",
82-
"ag-grid": "https://unpkg.com/[email protected]/dist/ag-grid-community.min",
83-
"ag-grid-enterprise": "https://unpkg.com/[email protected]/dist/ag-grid-enterprise.min",
82+
"ag-grid": "{{ base_url }}js/ag-grid-community.min",
83+
"ag-grid-enterprise": "{{ base_url }}js/ag-grid-enterprise.min",
8484
},
8585
});
8686

0 commit comments

Comments
 (0)