what is the use of environment file in angular code example
Example 1: adding prod environment file in angular8
content_copy
export const environment = {
production: false,
apiUrl: 'http://my-api-url'
};
Example 2: adding prod environment file in angular8
content_copy
export const environment = {
production: true,
apiUrl: 'http://my-prod-url'
};