Skip to content

Commit

Permalink
Merge pull request #98 from jiewenhuang/dev
Browse files Browse the repository at this point in the history
fix:waline侧边栏和留言板地址写死问题
  • Loading branch information
jiewenhuang committed Sep 22, 2023
2 parents a7643c8 + 838c43a commit 0bafea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/modules/widgets/asideWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion templates/page_leaving.html
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0bafea9

Please sign in to comment.