diff --git a/src/client.js b/src/client.js index 3515d09..11433b9 100644 --- a/src/client.js +++ b/src/client.js @@ -1,5 +1,5 @@ import { HoudiniClient } from '$houdini' export default new HoudiniClient({ - url: 'http://localhost:5173/graphql' + url: '/graphql' }) diff --git a/svelte.config.js b/svelte.config.js index 8ef2412..c1ee212 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,8 +1,10 @@ import adapter from '@sveltejs/adapter-auto' import path from 'path' +import preprocess from 'svelte-preprocess' /** @type {import('@sveltejs/kit').Config} */ const config = { + preprocess: preprocess(), kit: { adapter: adapter(), alias: {