Skip to content

Commit 79c9bdf

Browse files
committed
docs: update instructions for assets-only workers
1 parent 5261b20 commit 79c9bdf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export default config;
237237
/// file: wrangler.toml
238238
---site.bucket = ".cloudflare/public"---
239239
+++assets.directory = ".cloudflare/public"
240-
assets.binding = "ASSETS"+++
240+
assets.binding = "ASSETS"+++ # Exclude this if you don't have a `main` key configured.
241241
```
242242
243243
### wrangler.jsonc
@@ -250,7 +250,7 @@ assets.binding = "ASSETS"+++
250250
},---
251251
+++ "assets": {
252252
"directory": ".cloudflare/public",
253-
"binding": "ASSETS"
254-
}+++
253+
"binding": "ASSETS"+++ // Exclude this if you don't have a `main` key configured.
254+
+++ }+++
255255
}
256256
```

0 commit comments

Comments
 (0)