✨ Make new frontend available under /modern

👷 Start adding deploy config and CI
This commit is contained in:
nikolark committed 2021-12-05 00:45:36 +01:00
1 parent bc4414473c
commit dbda43077e
8 files changed
+49 -5

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { ApolloClient, InMemoryCache } from "@apollo/client";
const client = new ApolloClient({
uri: "http://localhost:8000/graphql/", // FIXME: env
uri: import.meta.env.VITE_API_URL || "http://localhost:8000/graphql/",
cache: new InMemoryCache(),
});