diff --git a/packages/backend/src/mfm/to-html.ts b/packages/backend/src/mfm/to-html.ts index 8d8a4a8889..65decee83d 100644 --- a/packages/backend/src/mfm/to-html.ts +++ b/packages/backend/src/mfm/to-html.ts @@ -156,7 +156,7 @@ export function toHtml( search(node) { const a = doc.createElement("a"); - a.href = `https://search.annoyingorange.xyz/search?q=${node.props.query}`; + a.href = `/search/${node.props.query}`; a.textContent = node.props.content; return a; }, diff --git a/packages/client/src/components/MkGoogle.vue b/packages/client/src/components/MkGoogle.vue index cec4930471..4244bb22d4 100644 --- a/packages/client/src/components/MkGoogle.vue +++ b/packages/client/src/components/MkGoogle.vue @@ -11,6 +11,9 @@