Closed SeverinDK closed 2 years ago
I can also provide custom env variables for dev/prod on CF pages if that helps
This is the documentation btw: https://developers.cloudflare.com/pages/platform/build-configuration/#environment-variables
(So it doesn't get lost in development-bot chatter)
Hi,
can you modify the switch in such a way that
process.env.NODE_ENV === "development" would point to
https://dev-wrapmeister.peercoin.net/
and
process.env.NODE_ENV === "production" would point to
https://wrapmeister.peercoin.net/
? That way all the cloudflare preview branches will always point to the dev-backend and prod will be prod.