Currently, I am working on modifying the 'environment.ts' file within an Angular project to include additional properties. The current setup looks like this:
export const environment = {
production: false,
apiUrl: 'http://example.com',
authApiUrl: 'http://example.com/auth'
};
I am wondering if there is a way to streamline this by referencing existing properties. For example, something along the lines of:
export const environment = {
production: false,
apiUrl: 'http://example.com',
authApiUrl: apiUrl + '/auth'
};