Make local frontend backend configurable

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
leanderandCopilot committed 2026-10-22 04:21:44 +02:00
1 parent 098c6701f2
commit e23cbb1d27
5 files changed
+34 -12

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { ApolloClient, InMemoryCache } from "@apollo/client";
const client = new ApolloClient({
uri: `${import.meta.env.VITE_API_URL}/graphql/`,
uri: import.meta.env.DEV ? "/graphql/" : `${import.meta.env.VITE_API_URL}/graphql/`,
cache: new InMemoryCache(),
});