We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f473a44 + f9dec18 commit a092635Copy full SHA for a092635
apps/quartz-app/src/data/apiClient.ts
@@ -2,7 +2,7 @@ import createClient from "openapi-fetch";
2
import { paths } from "@/src/types/schema";
3
4
const client = createClient<paths>({
5
- baseUrl: "https://api-dev.quartz.energy/",
+ baseUrl: process.env.NEXT_PUBLIC_API_URL || "https://api-dev.quartz.energy/",
6
// "http://localhost:8000/",
7
// headers: {
8
// Authorization: `Bearer ${process.env.API_KEY}`,
0 commit comments