fixes backend env

This commit is contained in:
2025-08-03 11:08:38 +02:00
parent c21c98f6c4
commit 1aa28f978d
+1 -1
View File
@@ -4,7 +4,7 @@ import { getUser } from "./fetch";
import { paths, components } from "muzak/data/types"; import { paths, components } from "muzak/data/types";
const fetcher = Fetcher.for<paths>(); const fetcher = Fetcher.for<paths>();
const BASE_URL = process.env.BACKEND_HOST || "http://127.0.0.1:8001"; const BASE_URL = process.env.BACKEND_HOST!;
// Configure the fetcher // Configure the fetcher
fetcher.configure({ fetcher.configure({