From 662c98898b56c733a738f44c47ed46412c79b975 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Thu, 9 Jan 2025 00:01:49 +0100 Subject: [PATCH] added proxy for gql --- web/vite.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/vite.config.ts b/web/vite.config.ts index d32eba1..e1cecdb 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -4,4 +4,10 @@ import { svelte } from '@sveltejs/vite-plugin-svelte' // https://vite.dev/config/ export default defineConfig({ plugins: [svelte()], + + server:{ + proxy:{ + "/graphql": "http://localhost:8080", + }, + }, })