We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a988a2 commit 385342bCopy full SHA for 385342b
src/routes/+page.server.ts
@@ -1,4 +1,10 @@
1
-import { GOOGLE_FONTS_API_KEY } from '$env/static/private'
2
-import { createServerLoad } from 'svelte-font-select'
+// import { GOOGLE_FONTS_API_KEY } from '$env/static/private'
+// import { createServerLoad } from 'svelte-font-select'
3
4
-export const load = createServerLoad(GOOGLE_FONTS_API_KEY)
+// export const load = createServerLoad(GOOGLE_FONTS_API_KEY)
5
+
6
+import data from '../../static/fonts.json'
7
8
+export async function load({ fetch }) {
9
+ return data
10
+}
0 commit comments