The annoying orange

This commit is contained in:
ThatOneCalculator 2022-07-18 21:32:02 -07:00
parent 862a26dceb
commit 002f7b5481

View File

@ -141,7 +141,7 @@ export function toHtml(nodes: mfm.MfmNode[] | null, mentionedRemoteUsers: IMenti
search(node) { search(node) {
const a = doc.createElement('a'); const a = doc.createElement('a');
a.href = `https://www.google.com/search?q=${node.props.query}`; a.href = `https://search.annoyingorange.xyz/search?q=${node.props.query}`;
a.textContent = node.props.content; a.textContent = node.props.content;
return a; return a;
}, },