Skip to content

Commit 8ca14d2

Browse files
committed
Fix typo
1 parent 5ddaeb9 commit 8ca14d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/workers/static-assets/migrate-from-pages.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ If you use **Pages Functions with a [folder of `functions/`](/pages/functions/)*
172172

173173
Although this command will remain available to you to run at any time, we do recommend considering using another framework if you wish to continue to use file-based routing. [HonoX](https://github.com/honojs/honox) is one popular option.
174174

175-
Once the Worker script has been compiled, you can update your configuration file's `main` field to point to the location of its location:
175+
Once the Worker script has been compiled, you can update your configuration file's `main` field to point to the location it was built to:
176176

177177
<WranglerConfig>
178178

@@ -332,7 +332,7 @@ Optionally, you can also [protect these preview URLs with Cloudflare Access](/wo
332332

333333
:::note
334334

335-
Unlike Pages, Workers does not natively support defining different bindings in production vs. non-production builds. This is something we are actively exploring, but in the meantime, you may wish to explore using [Wrangler Environments](/workers/wrangler/environments/) and an [appropriate Workers Build configuration](/workers/ci-cd/builds/advanced-setups/#wrangler-environments) to achieve this.
335+
Unlike Pages, Workers does not natively support defining different bindings in production vs. non-production builds. This is something we are actively exploring, but in the meantime, you may wish to consider using [Wrangler Environments](/workers/wrangler/environments/) and an [appropriate Workers Build configuration](/workers/ci-cd/builds/advanced-setups/#wrangler-environments) to achieve this.
336336

337337
:::
338338

0 commit comments

Comments
 (0)