Bläddra i källkod

maint: always use latest plotly.js

wangweimin 4 år sedan
förälder
incheckning
a692aeed4f
2 ändrade filer med 2 tillägg och 2 borttagningar
  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'
         },
     });