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 help straight from the Payload team with an Enterprise License.