Browse Source

Merges pull request #72

[Part 2] #309 Fix Crashing During SSR
master
Michael J 5 months ago
parent
commit
9a644383dc
No known key found for this signature in database
GPG Key ID: 962BEC8725790894
  1. 4
      src/routes/+layout.ts

4
src/routes/+layout.ts

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

Loading…
Cancel
Save