Add src/api/base44Client.jsx

This commit is contained in:
Eric Lay 2026-03-11 08:37:13 -05:00
parent a5f65b28bf
commit ee9f781c8e
1 changed files with 14 additions and 0 deletions

14
src/api/base44Client.jsx Normal file
View File

@ -0,0 +1,14 @@
import { createClient } from '@base44/sdk';
import { appParams } from '@/lib/app-params';
const { appId, token, functionsVersion, appBaseUrl } = appParams;
//Create a client with authentication required
export const base44 = createClient({
appId,
token,
functionsVersion,
serverUrl: '',
requiresAuth: false,
appBaseUrl
});