Add an opt-in SSR mode with a Node adapter behind PUBLIC_SSR

This commit is contained in:
dtonon 2026-08-14 19:25:55 +01:00
parent 9cc82dc1fe
commit 54c0682dce
18 changed files with 4257 additions and 3552 deletions

View file

@ -1,7 +1,7 @@
import type { AbstractRelay } from "@nostr/tools/abstract-relay";
import type { Event } from "@nostr/tools/core";
import type { Filter } from "@nostr/tools/filter";
import { loadNostrUser, type NostrUser } from "@nostr/gadgets/metadata";
import { loadNostrUser, type NostrUser } from "$lib/gadgets";
import { ensureForumRelay } from "$lib/relay";
import { ingestNostrUser } from "$lib/profiles.svelte";