Browse Source

Turn off SSR for all pages

master
buttercat1791 6 months ago
parent
commit
d62bff8236
  1. 4
      src/routes/+layout.ts

4
src/routes/+layout.ts

@ -1,8 +1,10 @@
import type { LayoutLoad } from "./$types"; import type { LayoutLoad } from "./$types";
import { initNdk } from "$lib/ndk"; import { initNdk } from "$lib/ndk";
export const ssr = false;
export const load: LayoutLoad = () => { export const load: LayoutLoad = () => {
return { return {
ndk: initNdk(), ndk: initNdk(),
}; };
} };

Loading…
Cancel
Save