chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-08-08 18:03:21 -07:00
parent 06fcef60a1
commit 73dcf4f8fa
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
4 changed files with 10 additions and 5 deletions

View File

@ -226,7 +226,11 @@ export default hasConfig
return null; return null;
} else if (term.startsWith("domain:")) { } else if (term.startsWith("domain:")) {
const domain = term.slice(7); const domain = term.slice(7);
if (domain.length === 0 || domain === "local" || domain === config.hostname) { if (
domain.length === 0 ||
domain === "local" ||
domain === config.hostname
) {
constructedFilters.push("userHost NOT EXISTS"); constructedFilters.push("userHost NOT EXISTS");
return null; return null;
} }

View File

@ -33,8 +33,8 @@ export default define(meta, paramDef, async (ps) => {
const { const {
data: { text }, data: { text },
} = await worker.recognize(ps.url, { } = await worker.recognize(ps.url, {
rotateAuto: true, rotateAuto: true,
}); });
await worker.terminate(); await worker.terminate();
return text; return text;

View File

@ -106,7 +106,8 @@
:text="'@namekuji@firefish.social (Backend)'" :text="'@namekuji@firefish.social (Backend)'"
/></FormLink> /></FormLink>
<FormLink to="/@dev@post.naskya.net" <FormLink to="/@dev@post.naskya.net"
><Mfm :text="'@dev@post.naskya.net (Fullstack)'" ><Mfm
:text="'@dev@post.naskya.net (Fullstack)'"
/></FormLink> /></FormLink>
<FormLink to="/@panos@firefish.social" <FormLink to="/@panos@firefish.social"
><Mfm ><Mfm

View File

@ -24,7 +24,7 @@
<MkTime :time="announcement.createdAt" /> <MkTime :time="announcement.createdAt" />
</div> </div>
</div> </div>
<hr class="_seperator"/> <hr class="_seperator" />
<div class="_content"> <div class="_content">
<Mfm :text="announcement.text" /> <Mfm :text="announcement.text" />
<img <img