Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/docs/guide/objectos-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ start();
```typescript
// frontend/src/config.ts
export const config = {
apiBaseUrl: process.env.VITE_API_URL || 'http://localhost:3000/api'
apiBaseUrl: import.meta.env.VITE_API_URL || 'http://localhost:3000/api'
};

// frontend/src/index.tsx
Expand Down
16 changes: 0 additions & 16 deletions content/docs/utilities/runner.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -313,22 +313,6 @@ Run tests:
pnpm test
```

## Environment Variables

Configure the runner with environment variables:

```bash
# .env
VITE_API_URL=http://localhost:3000
VITE_APP_TITLE="ObjectUI Runner"
```

Use in code:

```typescript
const apiUrl = import.meta.env.VITE_API_URL
```

## Package Information

**Package Name:** `@object-ui/runner`
Expand Down