Angular · Junior · Question 65 of 75

Where do you keep different API URLs for development and production builds?

Explanation

Anything in the frontend bundle is public, so environment files must contain only non-secret settings like API base URLs.

Further reading

Problem with a question

Angular · Junior · question 65

Test yourself

Take the Angular · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz