Skip to content

Commit e70c79e

Browse files
committed
document options
1 parent 0e87220 commit e70c79e

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

wrangler.toml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,26 @@ invocation_logs = true
1818
persist = true
1919

2020
# ==== Route/Domain Configuration ==================================================================
21-
workers_dev = true
22-
# https://developers.cloudflare.com/workers/configuration/previews/
23-
preview_urls = true # To use: `wrangler versions upload -e [env-name]`
21+
# https://developers.cloudflare.com/workers/configuration/routing/
2422

2523
# This uses vars defined in .env.production (make sure debug is off!)
2624
[env.production]
2725
routes = [
2826
{ pattern = "acmcsuf.com", custom_domain = true }
2927
]
28+
# https://developers.cloudflare.com/workers/configuration/previews/
29+
# To create a preview deployment, use one of the following:
30+
# `wrangler versions upload -e [env-name]`
31+
# `wrangler versions upload -e [env-name] --preview-alias [alias-name]`
32+
# The latter puts the alias name in the URL, useful for tracking an in-progress feature.
33+
# Live preview URLs can be found in the "Deployments" tab of the Worker.
34+
workers_dev = true
35+
preview_urls = true
36+
37+
# More environments can be created here, and they can be deployed by running
38+
# `wrangler deploy -e [env-name]`, and they'll use a `.env.[env-name]` file.
39+
# Example:
3040

31-
# More environments like [env.staging] can be created here, and they can be deployed
32-
# with `wrangler deploy -e staging` or whatever the env is called.
41+
# [env.staging]
42+
# route = "staging.acmcsuf.com/*"
43+
# workers_dev = false

0 commit comments

Comments
 (0)