fuxking work pls

This commit is contained in:
2026-08-22 20:58:27 +02:00
parent 2cd7abb403
commit 2b4d07785a
5 changed files with 72 additions and 29 deletions
+1 -4
View File
@@ -7,10 +7,7 @@ import type {
PublicGallery,
} from '../types/gallery';
const apiBaseUrl = (import.meta.env.VITE_API_BASE_URL || 'http://localhost:8080').replace(
/\/$/,
'',
);
const apiBaseUrl = (import.meta.env.VITE_API_BASE_URL || '').replace(/\/$/, '');
export class ApiError extends Error {
readonly status: number;