Skip to content

Instantly share code, notes, and snippets.

@Serginho
Last active March 19, 2019 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Serginho/8a86989f48ae3b0d76ea4a2ec456dfec to your computer and use it in GitHub Desktop.
Save Serginho/8a86989f48ae3b0d76ea4a2ec456dfec to your computer and use it in GitHub Desktop.
Environment base configuration
// environment.ts configuration
export const environment = {
production: false,
appVersion: '1.0'
endpoint: 'mysite.dev/rest',
browserSupport: [
{
name: 'Chrome',
version: 45
},
{
name: 'Firefox',
version: 40
},
{
name: 'Safari',
version: 9
}
],
}
// environment.prod.ts configuration
export const environment = {
production: true;
appVersion: '1.0',
endpoint: 'mysite.prod/rest',
browserSupport: [
{
name: 'Chrome',
version: 45
},
{
name: 'Firefox',
version: 40
},
{
name: 'Safari',
version: 9
}
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment