File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 5.3.4] - 09/08/2022
4
+ - Fix app.config
5
+
3
6
## [ 5.3.3] - 09/06/2022
4
7
- Update Angular to 14.2
5
8
- Remove old dependency
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sing-app" ,
3
- "version" : " 5.3.2 " ,
3
+ "version" : " 5.3.4 " ,
4
4
"description" : " Sing Dashboard App with Angular 11.2 Final Release support by Flatlogic" ,
5
5
"scripts" : {
6
6
"install" : " napa" ,
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import {environment} from '../environments/environment';
3
3
4
4
declare let jQuery : any ;
5
5
6
- const hostApi = process . env . NODE_ENV === 'development' ? 'http://localhost' : 'https://flatlogic-node-backend.herokuapp.com' ;
7
- const portApi = process . env . NODE_ENV === 'development' ? 8080 : '' ;
6
+ const hostApi = ! environment . production ? 'http://localhost' : 'https://flatlogic-node-backend.herokuapp.com' ;
7
+ const portApi = ! environment . production ? 8080 : '' ;
8
8
const baseURLApi = `${ hostApi } ${ portApi ? `:${ portApi } ` : `` } ` ;
9
9
10
10
@Injectable ( )
You can’t perform that action at this time.
0 commit comments