Przeglądaj źródła

Use jsDelivr to load Valine

Track3 6 lat temu
rodzic
commit
45737bea4c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      assets/js/main.js

+ 1 - 1
assets/js/main.js

@@ -106,7 +106,7 @@ let comments = document.getElementById('comments');
 let commentsLoader = document.getElementById('comments-loader');
 
 const avJsUrl = '//cdn1.lncld.net/static/js/3.0.4/av-min.js';
-const valineJsUrl = '//unpkg.com/valine@1.3.4/dist/Valine.min.js';
+const valineJsUrl = 'https://cdn.jsdelivr.net/npm/valine@1.3.4/dist/Valine.min.js';
 
 const loadComments = () => {
   loadScript(avJsUrl).then(() => {