Answer the question
In order to leave comments, you need to log in
Is there some sort of environment variable?
Tell me, please, is it possible, for example, in a component to use some kind of condition responsible for the environment?
For example:
var url;
if ( PRODUCTION ) {
url = 'xxx';
}
if ( DEVELOPMENT ) {
url = 'yyy';
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question