@base44-preview/cli 0.1.5-pr.569.0f0eefe → 0.1.5-pr.571.4d6a59e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,8 @@ import { createClient } from '@base44/sdk';
2
2
 
3
3
  export const base44 = createClient({
4
4
  appId: '<%= projectId %>',
5
+ // `base44 dev` injects VITE_BASE44_APP_BASE_URL (http://localhost:<port>) so the
6
+ // SDK targets the local dev backend; unset in prod builds, so it falls back to
7
+ // the SDK's default server.
8
+ serverUrl: import.meta.env.VITE_BASE44_APP_BASE_URL || undefined,
5
9
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.1.5-pr.569.0f0eefe",
3
+ "version": "0.1.5-pr.571.4d6a59e",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
6
  "bin": {