Merge pull request #98 from jiewenhuang/dev

fix:waline侧边栏和留言板地址写死问题
This commit is contained in:
Jevon 2023-09-22 17:23:36 +08:00 committed by GitHub
commit 0bafea91f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@
import { RecentComments } from 'https://cdn.jsdelivr.net/npm/@waline/client/dist/waline.mjs';
RecentComments({
serverURL: 'https://waline-comment.jiewen.run',
serverURL: /*[[${theme.config.basic.waline_serverURL}]]*/'',
count: /*[[${theme.config.aside.show_newreply_num}]]*/5,
}).then(({ comments }) => {
document.getElementById('waline-recent').innerHTML = comments.map(

View File

@ -85,7 +85,7 @@
});
RecentComments({
serverURL: 'https://waline-comment.jiewen.run',
serverURL: /*[[${theme.config.basic.waline_serverURL}]]*/'',
count: countNum,
}).then(({ comments }) => {
document.getElementById('waline-leaving').innerHTML = comments.map(