Skip to content

Commit

Permalink
Update routing.mdx (#19393)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgauvin authored Jan 23, 2025
1 parent 2f4522a commit a076e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/workers/static-assets/routing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ In this example, request to `example.com/blog` serves the `blog.html` file.

If a Worker is configured, and there are no assets that match the current route requested, the Worker will be invoked. The Worker can then "fall back" to `not_found_handling` asset behavior, by passing the incoming request through to the [asset binding](/workers/static-assets/binding/#runtime-api-reference).

In this example, request to `example.com/api` doesn't match a static asset so the Worker is invoked.
In this example, a request to `example.com/api` doesn't match a static asset so the Worker is invoked.

![A request to `example.com/blog` runs the Worker.](~/assets/images/workers/platform/assets/workers-assets-invoke-worker.png)

Expand Down

0 comments on commit a076e01

Please sign in to comment.