fix bug
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-13 20:37:21 +02:00
parent 39d803c19b
commit 054e881f76
+1 -1
View File
@@ -3,7 +3,7 @@ import type CommandInput from "$lib/models/command";
import type UIState from "$lib/models/uistate";
export default async function fetchLucifer<T>(path: string, init?: RequestInit): Promise<T> {
const url = import.meta.env.VITE_LUCIFER4_BACKEND_URL + "/" + path;
const url = (import.meta.env.VITE_LUCIFER4_BACKEND_URL||"") + "/" + path;
const res = await fetch(url, init);
if (res.status !== 200) {