fixes backend env
This commit is contained in:
@@ -4,7 +4,7 @@ import { getUser } from "./fetch";
|
||||
import { paths, components } from "muzak/data/types";
|
||||
|
||||
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
|
||||
fetcher.configure({
|
||||
|
||||
Reference in New Issue
Block a user