added proxy for gql

This commit is contained in:
Niklas Kapelle 2025-01-09 00:01:49 +01:00
parent 3630773eed
commit 662c98898b
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

@ -4,4 +4,10 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [svelte()], plugins: [svelte()],
server:{
proxy:{
"/graphql": "http://localhost:8080",
},
},
}) })