Global Feed Post Login
Replying to Avatar なんもわからんかもも:monoue:

let siteUrl = $derived.by(() => {

const urlTag = note.tags.find(

(tag) => tag[0] == "d" && tag.length > 1

)?.[1];

if (!urlTag) return;

if (!urlTag?.startsWith("http")) {

return `https://${urlTag}`;

}

});これでいい?

Avatar
うにゅう 8mo ago

ええで

Reply to this note

Please Login to reply.

Discussion

No replies yet.