Oopsie
All checks were successful
Push image to registry / build-image (push) Successful in 3m39s

This commit is contained in:
2025-02-07 15:05:23 +01:00
parent b0b647cf1f
commit 4a6a36ba33
4 changed files with 31 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export function cn(...inputs: ClassValue[]) {
}
export async function httpApi<T>(route: string): Promise<T> {
let response = await fetch(+"/api" + route);
let response = await fetch("/api" + route);
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);