Hello,
It seems that
PAYLOAD_PUBLIC_*
env vars are substituted into frontend scripts at build time. I was just wondering whether there's any way to delay this substitution until runtime so that I don't have to rebuild my docker container to update my S3 endpoint.
Thanks,
Oliver
Hmm, this is an interesting problem. Since the bundle must be built before serving, I don't know of an easy way to accomplish this.
Are you using the cloud storage plugin?
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.