Browse Source

Ensure SSR is allowed for page layouts

master
buttercat1791 7 months ago
parent
commit
0806168811
  1. 2
      src/routes/publication/[type]/[identifier]/+layout.ts

2
src/routes/publication/[type]/[identifier]/+layout.ts

@ -4,6 +4,8 @@ import { fetchEventByDTag, fetchEventById, fetchEventByNaddr, fetchEventByNevent @@ -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;

Loading…
Cancel
Save