Răsfoiți Sursa

maint: always use latest plotly.js

wangweimin 4 ani în urmă
părinte
comite
a692aeed4f
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      pywebio/html/index.html
  2. 1 1
      pywebio/platform/tpl/index.html

+ 1 - 1
pywebio/html/index.html

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

+ 1 - 1
pywebio/platform/tpl/index.html

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