From ca994f89152950a6e926cfd756d9453389c5ebd6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Wed, 12 Nov 2025 05:54:02 +0000 Subject: [PATCH] completionId: cgen-b8c747ede7904c749bcc4f9e08154b78 cgen-b8c747ede7904c749bcc4f9e08154b78 --- client/lib/aethex-database-adapter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/lib/aethex-database-adapter.ts b/client/lib/aethex-database-adapter.ts index 865e4ad8..1ae18676 100644 --- a/client/lib/aethex-database-adapter.ts +++ b/client/lib/aethex-database-adapter.ts @@ -6,6 +6,9 @@ import type { Database } from "./database.types"; // Use the existing database user profile type directly import type { UserProfile } from "./database.types"; +// API Base URL for fetch requests +const API_BASE = import.meta.env.VITE_API_BASE || ""; + // Extended type that matches the existing shared database export interface AethexUserProfile extends UserProfile { email?: string;