Skip to content

Commit 61b679b

Browse files
committed
1. Fix the issue that comments cannot be displayed;
2. update the LICENSE.
1 parent cbe5e24 commit 61b679b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 xianmin
3+
Copyright (C) 2020 Rainer Chiang
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

layouts/partials/comments.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
{{ end }}
3333

3434
<div id="vcomments"></div>
35-
<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
35+
<!-- <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script> -->
36+
<script src="//code.bdstatic.com/npm/leancloud-storage@4.12.0/dist/av-min.js"></script>
3637
<script src='//unpkg.com/valine/dist/Valine.min.js'></script>
3738
<script type="text/javascript">
3839
new Valine({
@@ -45,6 +46,7 @@
4546
requiredFields: {{ .Site.Params.valine.requiredFields }},
4647
avatar: {{ .Site.Params.valine.avatar }},
4748
visitor: {{ .Site.Params.valine.visitor }},
49+
serverURLs: {{ .Site.Params.valine.serverURLs }},
4850
recordIP: true
4951
});
5052
</script>

0 commit comments

Comments
 (0)