Skip to content

Commit a9d4d15

Browse files
obulatkrysal
andcommitted
Update documentation/projects/proposals/proxy_frontend_api_requests/20241202-implementation_plan_proxy_frontend_api_requests_ip.md
Co-authored-by: Krystle Salazar <krystle.salazar@automattic.com>
1 parent 9ae7010 commit a9d4d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/projects/proposals/proxy_frontend_api_requests/20241202-implementation_plan_proxy_frontend_api_requests_ip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ in `server/plugins/proxy.ts`. This plugin should:
278278
the `process.env.[VARIABLE_NAME]`, not `runtimeConfig.VARIABLE_NAME` since the
279279
`runtimeConfig` is not available in the plugin body.
280280
- add a middleware using `defineEventHandler` that adds the `OpenverseApiClient`
281-
as to the event context as `event.context.client`.
281+
as to the event context as `event.context.api_client`.
282282

283283
### Set up Nuxt Server proxy routes
284284

0 commit comments

Comments
 (0)