Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmily <734204679@qq.com>2022-11-08 17:13:47 +0300
committerGitHub <noreply@github.com>2022-11-08 17:13:47 +0300
commitf475ddcef8a933f559decf3acc684b84c5c98b70 (patch)
treeb2a4441c711579e04003bd2639d7be4a85e81eb9
parentc3dc76652ebbb4b670de3b9a7e12594a066b1c0b (diff)
fix valine comment bug (#692)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-rw-r--r--layouts/partials/comments/valine.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/comments/valine.html b/layouts/partials/comments/valine.html
index 264077e..f4eec77 100644
--- a/layouts/partials/comments/valine.html
+++ b/layouts/partials/comments/valine.html
@@ -1,6 +1,6 @@
{{ with .valine }}
<div id="vcomments"></div>
-<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
+<script src="//code.bdstatic.com/npm/leancloud-storage@4.12.0/dist/av-min.js"></script>
<script src="//unpkg.com/valine/dist/Valine.min.js"></script>
<script type="text/javascript">
new Valine({
@@ -13,6 +13,7 @@
lang: "{{ .lang }}",
recordIP: "{{ .recordIP }}",
enableQQ: "{{ .enableQQ }}",
+ serverURLs: "https://{{ .serverURLs }}.api.lncldglobal.com"
});
</script>
-{{ end }}
+{{ end }} \ No newline at end of file