Skip to content

Commit 08e71e8

Browse files
authored
docs[cloudflare] fix domain structure in skew protection (#170)
1 parent 19f7fb2 commit 08e71e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/cloudflare/howtos/skew.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The Worker needs to serve the correct version of the app assets. For that it nee
5757
The following environment variables should be set when the skew protection is used:
5858

5959
- `CF_WORKER_NAME` should be set to the name of the worker, i.e. `my-app` given the config above. If you're using environment, the name of the app should contain your env, i.e. `my-app-<env>`
60-
- `CF_PREVIEW_DOMAIN` is the the subdomain of `workers.dev` where the previews are deployed, i.e. `<version-name>.<domain>.workers.dev`
60+
- `CF_PREVIEW_DOMAIN` is the the subdomain of `workers.dev` where the previews are deployed, i.e. `<version>-<worker_name>.<domain>.workers.dev`
6161
- `CF_WORKERS_SCRIPTS_API_TOKEN` is an API token with the `Workers Scripts:Read` permission
6262
- `CF_ACCOUNT_ID` is the Cloudflare account id where the app is deployed.
6363

0 commit comments

Comments
 (0)