MCPcopy Create free account
hub / github.com/clerk/javascript / getClientSafeEnv

Function getClientSafeEnv

packages/astro/src/server/get-safe-env.ts:49–57  ·  view source on GitHub ↗

* @internal * This should be used in order to pass environment variables from the server safely to the client. * When running an application with `wrangler pages dev` client side environment variables are not attached to `import.meta.env.*` * This is not the case when deploying to cloudflare page

(context: ContextOrLocals)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

decorateRequestFunction · 0.90

Calls 1

getContextEnvVarFunction · 0.85

Tested by

no test coverage detected