added proxy for gql
This commit is contained in:
parent
3630773eed
commit
662c98898b
@ -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",
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user