Is there a way to detect environment using process.env...
or another way?
console.log({ env: process.env.NODE_ENV });
returns “production”
Even though my deployed environment in the console is dev.
Deployed app to the DEV
;
By environment I mean: Environments and versions (atlassian.com)