Skip to content

Commit ed99096

Browse files
committed
Minor edits
1 parent bf05a28 commit ed99096

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/content/docs/containers/index.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Enhance your Workers with serverless containers
3333
<Plan type="workers-paid" />
3434

3535
With Containers, you can build applications that integrate Workers with a serverless container runtime.
36+
3637
Deploy your container image to Region:Earth without worrying about managing infrastructure - just define your
3738
Worker and `wrangler deploy`.
3839

@@ -53,7 +54,6 @@ async fetch(request, env) {
5354
}
5455

5556
// define a durable object to run alongside your container
56-
5757
export class MyContainer extends DurableObject {
5858
// start the container with the durable object
5959
constructor(ctx, env) {
@@ -63,11 +63,10 @@ export class MyContainer extends DurableObject {
6363
);
6464
}
6565

66-
// proxy requests to the container
67-
async fetch(request) {
68-
return await proxyFetch(this.ctx.container, request, 4000);
69-
}
70-
66+
// proxy requests to the container
67+
async fetch(request) {
68+
return await proxyFetch(this.ctx.container, request, 4000);
69+
}
7170
}
7271

7372
````

0 commit comments

Comments
 (0)