Add integ environment for angular.
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
"environmentSource": "environments/environment.ts",
|
"environmentSource": "environments/environment.ts",
|
||||||
"environments": {
|
"environments": {
|
||||||
"dev": "environments/environment.ts",
|
"dev": "environments/environment.ts",
|
||||||
|
"integ": "environments/environment.integ.ts",
|
||||||
"prod": "environments/environment.prod.ts"
|
"prod": "environments/environment.prod.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
10
src/main/ts/src/environments/environment.integ.ts
Executable file
10
src/main/ts/src/environments/environment.integ.ts
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
// 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.0.153:8445',
|
||||||
|
appVersion: '1.0'
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user