Skip to content

Commit 948d6c8

Browse files
authored
docs: update instructions for assets-only workers (#14238)
1 parent 848b4cb commit 948d6c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 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"
253+
"binding": "ASSETS" // Exclude this if you don't have a `main` key configured.
254254
}+++
255255
}
256256
```

0 commit comments

Comments
 (0)