Skip to content

Commit 344fee4

Browse files
committed
Fix the BASE import to successfully build the frontend IMAGE
1 parent c40e3bf commit 344fee4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

client/src/lib/api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ const API_BASE_URL =
2323
(import.meta.env.VITE_API_BASE_URL as string | undefined) ||
2424
'http://localhost:3000';
2525

26+
export const BASE = API_BASE_URL;
27+
2628
function buildUrl(path: string) {
2729
const base = API_BASE_URL.replace(/\/+$/, '');
2830
const cleanPath = path.startsWith('/') ? path : `/${path}`;

0 commit comments

Comments
 (0)