From 08061688112749065f227be2b6f4daf1ef7f5935 Mon Sep 17 00:00:00 2001 From: buttercat1791 Date: Sat, 2 Aug 2025 23:02:07 -0500 Subject: [PATCH] Ensure SSR is allowed for page layouts --- src/routes/publication/[type]/[identifier]/+layout.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/publication/[type]/[identifier]/+layout.ts b/src/routes/publication/[type]/[identifier]/+layout.ts index d181095..d8cab28 100644 --- a/src/routes/publication/[type]/[identifier]/+layout.ts +++ b/src/routes/publication/[type]/[identifier]/+layout.ts @@ -4,6 +4,8 @@ import { fetchEventByDTag, fetchEventById, fetchEventByNaddr, fetchEventByNevent import type { NostrEvent } from "../../../../lib/utils/websocket_utils.ts"; import { browser } from "$app/environment"; +export const ssr = true; + export const load: LayoutLoad = async ({ params, url }) => { const { type, identifier } = params;