Skip to content

Commit 86664cc

Browse files
committed
docs: update static assets documentation
1 parent a57396f commit 86664cc

File tree

1 file changed

+2
-2
lines changed
  • src/content/docs/cloudflare-for-platforms/workers-for-platforms/configuration

1 file changed

+2
-2
lines changed

src/content/docs/cloudflare-for-platforms/workers-for-platforms/configuration/static-assets.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pcx_content_type: concept
33
title: Static Assets
44
---
5-
Workers for Platforms lets you host static sites or front-end assets for dynamic applications on Cloudflare’s global network—without managing servers or storage. You can scale to thousands of sites, with Cloudflare automatically caching and delivering your assets globally.
5+
Workers for Platforms lets you deploy front-end applications at scale. By hosting static assets on Cloudflare’s global network, you can deliver faster load times worldwide and eliminate the need for external infrastructure. You can also combine these static assets with dynamic logic in Cloudflare Workers, providing a full-stack experience for your customers.
66
## What you can build
77

88
#### Static sites
@@ -227,7 +227,7 @@ binding = "ASSETS"
227227

228228
Place your static files (HTML, CSS, images, etc.) in the specified directory (in this example, `./public`). Wrangler will detect and bundle these files when you publish your Worker.
229229

230-
If you need to reference these files in your Worker script to serve them dynamically, you can reference the `ASSETS` binding in your code:
230+
If you need to reference these files in your Worker script to serve them dynamically, you can use the `ASSETS` binding like this:
231231

232232
```js
233233
export default {

0 commit comments

Comments
 (0)