Skip to content

Commit

Permalink
Update wrangler workers site to recommend workers static assets (#18119)
Browse files Browse the repository at this point in the history
* Update wrangler workers site to recommend workers static assets

The following recommends Cloudflare Pages over Workers Sites, which is inconsistent with other documentation that recommends Workers Static Assets

https://developers.cloudflare.com/workers/wrangler/configuration/#workers-sites

* Update src/content/docs/workers/wrangler/configuration.mdx

---------

Co-authored-by: ToriLindsay <[email protected]>
  • Loading branch information
2 people authored and harshil1712 committed Dec 3, 2024
1 parent 1043cc8 commit 4ce9ada
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/content/docs/workers/wrangler/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1191,10 +1191,7 @@ upload_source_maps = true

## Workers Sites

:::note[Cloudflare Pages]

Consider using [Cloudflare Pages](/pages/) for hosting static applications instead of Workers Sites.
:::
<Render file="workers_sites"/>

[Workers Sites](/workers/configuration/sites/) allows you to host static websites, or dynamic websites using frameworks like Vue or React, on Workers.

Expand Down

0 comments on commit 4ce9ada

Please sign in to comment.