Skip to content

Commit 4943161

Browse files
committed
Fix app.config
1 parent a0785c9 commit 4943161

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [5.3.4] - 09/08/2022
4+
- Fix app.config
5+
36
## [5.3.3] - 09/06/2022
47
- Update Angular to 14.2
58
- Remove old dependency

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sing-app",
3-
"version": "5.3.2",
3+
"version": "5.3.4",
44
"description": "Sing Dashboard App with Angular 11.2 Final Release support by Flatlogic",
55
"scripts": {
66
"install": "napa",

src/app/app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {environment} from '../environments/environment';
33

44
declare let jQuery: any;
55

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 : '';
88
const baseURLApi = `${hostApi}${portApi ? `:${portApi}` : ``}`;
99

1010
@Injectable()

0 commit comments

Comments
 (0)