Update: Environment for Heroku Production
This commit is contained in:
parent
b7df19e1c0
commit
0d6cca625c
136 changed files with 35 additions and 2784 deletions
4
src/environments/environment.prod.ts
Normal file
4
src/environments/environment.prod.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export const environment = {
|
||||
production: true,
|
||||
debutUrl: "https://api-polynotfound.herokuapp.com/api/"
|
||||
};
|
||||
17
src/environments/environment.ts
Normal file
17
src/environments/environment.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// This file can be replaced during build by using the `fileReplacements` array.
|
||||
// `ng build` replaces `environment.ts` with `environment.prod.ts`.
|
||||
// The list of file replacements can be found in `angular.json`.
|
||||
|
||||
export const environment = {
|
||||
production: false,
|
||||
debutUrl: "http://127.0.0.1:3000/api/"
|
||||
};
|
||||
|
||||
/*
|
||||
* 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/plugins/zone-error'; // Included with Angular CLI.
|
||||
Reference in a new issue