Skip to content

Commit

Permalink
revert(waline): fallback to local
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanNotFound committed Nov 14, 2023
1 parent bddb0d5 commit a10e75a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layout/_partials/comments/waline.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% if(theme.comment.system === 'waline' && theme.comment.config.waline.serverUrl && theme.comment.config.waline.lang) { %>
<div id="waline"></div>
<script type="module" data-swup-reload-script>
import { init } from '<%= renderJSPath('js/libs/waline.js') %>';
import { init } from '<%= url_for('js/libs/waline.mjs') %>';
function loadWaline() {
init({
Expand Down
2 changes: 1 addition & 1 deletion source/js/libs/waline.js → source/js/libs/waline.mjs

Large diffs are not rendered by default.

File renamed without changes.

0 comments on commit a10e75a

Please sign in to comment.