Skip to content

Commit 04b1fcb

Browse files
word missing under for accessing custom metadata (cloudflare#7549)
suggested what I think is missing, not 100% certain
1 parent 35c7525 commit 04b1fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Changes to metadata will propagate across Cloudflare’s edge within 30 seconds.
5656

5757
The metadata object will be accessible on each request using the `request.cf.hostMetadata` property. You can then read the data, and customize any behavior on it using the Worker.
5858

59-
In the example below we will user_id in the Worker that was submitted using the API call above `"custom_metadata":{"customer_id":"12345","redirect_to_https": true,"security_tag":"low"}`, and set a request header to send the `customer_id` to the origin:
59+
In the example below we will use the user_id in the Worker that was submitted using the API call above `"custom_metadata":{"customer_id":"12345","redirect_to_https": true,"security_tag":"low"}`, and set a request header to send the `customer_id` to the origin:
6060

6161
```js
6262
addEventListener('fetch', event => {

0 commit comments

Comments
 (0)