Skip to content

Commit faccf5e

Browse files
authored
clarify that the note is about Backend constructors and not the allowDynamicBackends function (#664)
1 parent 416daaa commit faccf5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/docs/fastly:backend/Backend/Backend.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { allowDynamicBackends } from "fastly:experimental";
2121
allowDynamicBackends(true);
2222
```
2323

24-
**Note**: Can only be used when processing requests, not during build-time initialization.
24+
**Note**: Backend constructors can only be used when processing requests, not during build-time initialization.
2525

2626
## Syntax
2727

@@ -224,4 +224,4 @@ async function app() {
224224
addEventListener("fetch", event => event.respondWith(app(event)));
225225
```
226226

227-
</Fiddle>
227+
</Fiddle>

0 commit comments

Comments
 (0)