Skip to content

Commit fbba83f

Browse files
Update src/content/docs/workers/static-assets/index.mdx
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
1 parent 41a5874 commit fbba83f

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/workers/static-assets

1 file changed

+1
-1
lines changed

src/content/docs/workers/static-assets/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Within this deployment, the Worker has two primary responsibilies:
9797

9898
Static asset hosting on Workers allows you to serve files such as HTML, JavaScript, CSS, images, and other resources directly from Cloudflare's global network. This setup eliminates the need for a traditional web server, simplifying deployment and optimizing performance.
9999

100-
The **assets directory** specified in your Wrangler configuration file is central to this design. During deployment, Wrangler automatically uploads the files from this directory to Cloudflares infrastructure. Once deployed, requests for these assets are routed efficiently to locations closest to your users.
100+
The **assets directory** specified in your Wrangler configuration file is central to this design. During deployment, Wrangler automatically uploads the files from this directory to Cloudflare's infrastructure. Once deployed, requests for these assets are routed efficiently to locations closest to your users.
101101

102102
This approach ensures that static files like `index.html`, JavaScript bundles, stylesheets, and images are served with minimal latency. Workers efficiently handle file resolution, meaning they serve files as-is from the defined directory, or return a fallback response (such as an error or default page) when a requested file is not found.
103103

0 commit comments

Comments
 (0)