Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 49c2495

Browse files
committed
docs: fix bun, cf workers, and nodejs import paths for index.ts (#859)
1 parent 3dcee81 commit 49c2495

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/platforms/bun.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Bun provides a fast runtime environment for running ActorCore, with excellent pe
3030

3131
```typescript src/index.ts
3232
import { serve } from "@actor-core/bun";
33-
import { app } from "./app";
33+
import { app } from "../actors/app";
3434

3535
// Start the server with file-system driver (default)
3636
serve(app);

docs/platforms/cloudflare-workers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The Cloudflare Workers platform with Durable Objects provides a robust environme
5151

5252
```typescript src/index.ts
5353
import { createHandler } from "@actor-core/cloudflare-workers";
54-
import { app } from "./app";
54+
import { app } from "../actors/app";
5555

5656
// Create handlers for Cloudflare Workers
5757
const { handler, ActorHandler } = createHandler(app);

docs/platforms/nodejs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Node.js provides a robust environment for running ActorCore, ideal for developme
4444

4545
```typescript src/index.ts
4646
import { serve } from "@actor-core/nodejs";
47-
import { app } from "./app";
47+
import { app } from "../actors/app";
4848

4949
// Start the server with file-system driver (default)
5050
serve(app);

0 commit comments

Comments
 (0)