Skip to content

Commit

Permalink
fix: incorrect hash tag link
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Dec 10, 2024
1 parent 50d8826 commit 4a8564c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "com.github.node-gradle.node" version "5.0.0"
id "io.freefair.lombok" version "8.0.0-rc2"
id "run.halo.plugin.devtools" version "0.1.1"
id "run.halo.plugin.devtools" version "0.4.1"
id 'java'
}

Expand Down Expand Up @@ -46,7 +46,7 @@ build {
}

halo {
version = '2.17.0'
version = '2.20'
debug = true;
}

Expand All @@ -58,9 +58,9 @@ haloPlugin {
momentsApi {
displayName = 'Extension API for Moments Plugin'
pathsToMatch = [
'/apis/moment.halo.run/v1alpha1/**',
'/apis/console.api.moment.halo.run/v1alpha1/**',
'/apis/uc.api.moment.halo.run/v1alpha1/**'
'/apis/moment.halo.run/v1alpha1/**',
'/apis/console.api.moment.halo.run/v1alpha1/**',
'/apis/uc.api.moment.halo.run/v1alpha1/**'
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion console/src/extensions/tags/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const TagsExtension = Mark.create<TagOptions>({
default: null,
renderHTML(attributes) {
return {
href: `?tag=${encodeURI(attributes.tagText)}`,
href: `/moments?tag=${encodeURI(attributes.tagText)}`,
"data-pjax": "",
};
},
Expand Down

0 comments on commit 4a8564c

Please sign in to comment.