Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created November 25, 2019 23:29
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 parzibyte/002d8cfe8b093b65b7adc404f8383873 to your computer and use it in GitHub Desktop.
Save parzibyte/002d8cfe8b093b65b7adc404f8383873 to your computer and use it in GitHub Desktop.
Environment variables with Angular | https://parzibyte.me/blog/category/framework-angular
export const environment = {
production: true,
baseUrl: ".",
};
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
baseUrl: "http://localhost/mascotas_angular",
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment