diff --git a/packages/create-cloudflare/templates/hello-world-durable-object/ts/wrangler.toml b/packages/create-cloudflare/templates/hello-world-durable-object/ts/wrangler.toml index 2591cbe997d7..48117bd21ffb 100644 --- a/packages/create-cloudflare/templates/hello-world-durable-object/ts/wrangler.toml +++ b/packages/create-cloudflare/templates/hello-world-durable-object/ts/wrangler.toml @@ -41,13 +41,13 @@ compatibility_date = "" # Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model. # Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps. -# Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects +# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects [[durable_objects.bindings]] name = "MY_DURABLE_OBJECT" class_name = "MyDurableObject" # Durable Object migrations. -# Docs: https://developers.cloudflare.com/workers/learning/using-durable-objects#configure-durable-object-classes-with-migrations +# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#migrations [[migrations]] tag = "v1" new_classes = ["MyDurableObject"] diff --git a/templates/worker-typescript/wrangler.toml b/templates/worker-typescript/wrangler.toml index 68270740adfe..6e3ec6e4c935 100644 --- a/templates/worker-typescript/wrangler.toml +++ b/templates/worker-typescript/wrangler.toml @@ -39,13 +39,13 @@ compatibility_date = "2022-10-10" # Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model. # Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps. -# Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects -# [[durable_objects.bindings]] -# name = "MY_DURABLE_OBJECT" -# class_name = "MyDurableObject" +# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects +#[[durable_objects.bindings]] +#name = "MY_DURABLE_OBJECT" +#class_name = "MyDurableObject" # Durable Object migrations. -# Docs: https://developers.cloudflare.com/workers/learning/using-durable-objects#configure-durable-object-classes-with-migrations -# [[migrations]] -# tag = "v1" -# new_classes = ["MyDurableObject"] +# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#migrations +#[[migrations]] +#tag = "v1" +#new_classes = ["MyDurableObject"]