mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 15:07:10 +02:00
feat: add nsite config
This commit is contained in:
19
.nsite/config.json
Normal file
19
.nsite/config.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"relays": [
|
||||
"wss://lightning.red",
|
||||
"wss://pyramid.fiatjaf.com",
|
||||
"wss://nostr.wine",
|
||||
"wss://nos.lol",
|
||||
"wss://relay.primal.net",
|
||||
"wss://relay.damus.io"
|
||||
],
|
||||
"servers": [
|
||||
"https://lightning.red",
|
||||
"https://nostr.download",
|
||||
"https://blossom.band",
|
||||
"https://cdn.hzrd149.com"
|
||||
],
|
||||
"id": "grimoire",
|
||||
"title": "grimoire",
|
||||
"description": "a nostr client for magicians"
|
||||
}
|
||||
@@ -219,7 +219,7 @@ export function useNsiteMetadata(event: NostrEvent): {
|
||||
|
||||
return {
|
||||
title: fetched?.title,
|
||||
description: fetched?.description ?? tagDescription,
|
||||
description: tagDescription ?? fetched?.description,
|
||||
faviconUrl: fetched?.faviconUrl,
|
||||
loading,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user