diff --git a/src/main/java/run/halo/app/model/properties/CommentProperties.java b/src/main/java/run/halo/app/model/properties/CommentProperties.java index 4e0d1b5bbb..2ed055359c 100644 --- a/src/main/java/run/halo/app/model/properties/CommentProperties.java +++ b/src/main/java/run/halo/app/model/properties/CommentProperties.java @@ -48,7 +48,7 @@ public enum CommentProperties implements PropertyEnum { * Dependent comment js. */ INTERNAL_PLUGIN_JS("comment_internal_plugin_js", String.class, - "//cdn.jsdelivr.net/npm/halo-comment@latest/dist/halo-comment.min.js"), + "https://unpkg.com/halo-comment@latest/dist/halo-comment.min.js"), /** * Gravatar mirror source base url. diff --git a/src/main/resources/templates/common/macro/global_macro.ftl b/src/main/resources/templates/common/macro/global_macro.ftl index a6c1c77891..151218f7eb 100644 --- a/src/main/resources/templates/common/macro/global_macro.ftl +++ b/src/main/resources/templates/common/macro/global_macro.ftl @@ -61,8 +61,8 @@ <#-- comment module --> <#macro comment target,type> <#if !post.disallowComment!false> - - + + \ No newline at end of file