github debug

This commit is contained in:
Igor Loskutov
2025-09-04 21:58:06 -04:00
parent 9453ebe356
commit 988586ee42
6 changed files with 6 additions and 47 deletions

View File

@@ -10,11 +10,8 @@ import {
} from "@tanstack/react-query";
import createFetchClient from "openapi-react-query";
import { assertExistsAndNonEmptyString } from "./utils";
import { isCI } from "./next";
const API_URL = !isCI
? assertExistsAndNonEmptyString(process.env.NEXT_PUBLIC_API_URL)
: "http://127.0.0.1:1250";
const API_URL = assertExistsAndNonEmptyString(process.env.NEXT_PUBLIC_API_URL);
// Create the base openapi-fetch client with a default URL
// The actual URL will be set via middleware in AuthProvider