cant use process.env on ui components, any idea how?
You need to prefix your env variables with PAYLOAD_PUBLIC
eg. PAYLOAD_PUBLIC_SITE_URL
Star
Discord
online
Get dedicated engineering support directly from the Payload team..