Fixed production issues, fixed render issues, added secret and env variables into dockerfile and gihub actions files, remade dockerfile and github actions
This commit is contained in:
@@ -20,7 +20,7 @@ export default function RootLayout({
|
||||
isClient: typeof window !== "undefined"
|
||||
});
|
||||
const client = createClient({
|
||||
url: process.env.NEXT_PUBLIC_GRAPHQL_URL || "",
|
||||
url: "/api/graphql",
|
||||
exchanges: [cacheExchange, ssr, fetchExchange],
|
||||
suspense: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user