npm additions, code fixes and env variables added
This commit is contained in:
parent
51097bc09f
commit
620282e9ac
6 changed files with 7320 additions and 77 deletions
9
src/environments/environment.local.ts
Normal file
9
src/environments/environment.local.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
// The file contents for the current environment will overwrite these during build.
|
||||
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
|
||||
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
|
||||
// The list of which env maps to which file can be found in `angular-cli.json`.
|
||||
|
||||
export const environment = {
|
||||
production: false,
|
||||
apiUrl: 'http://192.168.2.156:3000/api'
|
||||
};
|
|
@ -1,3 +1,4 @@
|
|||
export const environment = {
|
||||
production: true
|
||||
production: true,
|
||||
apiUrl: 'http://app.peartrade.org/api'
|
||||
};
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
// The list of which env maps to which file can be found in `angular-cli.json`.
|
||||
|
||||
export const environment = {
|
||||
production: false
|
||||
production: false,
|
||||
apiUrl: 'http://dev.peartrade.org/api'
|
||||
};
|
||||
|
|
Reference in a new issue