Skip to content

Commit 1cc0666

Browse files
author
Hans-Martin Schuller
committed
attempt to fix remote build
1 parent af24949 commit 1cc0666

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const environment = {
22
production: true,
3-
apiUrl: 'http://localhost:8080/v1'
3+
apiUrl: 'http://localhost:' + process.env.PORT || 8080 +'/v1'
44
};
55

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export const environment = {
22
production: false,
3-
apiUrl: 'http://localhost:8080/v1'
4-
};
3+
apiUrl: 'http://localhost:' + process.env.PORT || 8080 +'/v1'};
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export const environment = {
22
production: true,
3-
apiUrl: 'http://localhost:8080/v1'
4-
};
3+
apiUrl: 'http://localhost:' + process.env.PORT || 8080 +'/v1'};

0 commit comments

Comments
 (0)