Skip to content

Commit 4f83122

Browse files
authored
fix(solid): getRequestEvent instead of getRequestEnv
solid uses `getRequestEvent` not `getRequestEnv`
1 parent cfe2b1f commit 4f83122

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/workers/framework-guides/web-apps/more-web-frameworks

1 file changed

+1
-1
lines changed

src/content/docs/workers/framework-guides/web-apps/more-web-frameworks/solid.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ The following command will build and deploy your project. If you're using CI, en
5757

5858
## Bindings
5959

60-
Your Solid application can be fully integrated with the Cloudflare Developer Platform, in both local development and in production, by using product bindings. The [Solid documentation](https://docs.solidjs.com/reference/server-utilities/get-request-event) provides information about how to access platform primitives, including bindings. Specifically, for Cloudflare, you can use [`getRequestEnv().nativeEvent.context.cloudflare.env`](https://docs.solidjs.com/solid-start/advanced/request-events#nativeevent) to access bindings.
60+
Your Solid application can be fully integrated with the Cloudflare Developer Platform, in both local development and in production, by using product bindings. The [Solid documentation](https://docs.solidjs.com/reference/server-utilities/get-request-event) provides information about how to access platform primitives, including bindings. Specifically, for Cloudflare, you can use [`getRequestEvent().nativeEvent.context.cloudflare.env`](https://docs.solidjs.com/solid-start/advanced/request-events#nativeevent) to access bindings.
6161

6262
<Render file="frameworks-bindings" />

0 commit comments

Comments
 (0)