Skip to content

Commit 103f4b4

Browse files
committed
fixing trailing \n
1 parent ac3c03d commit 103f4b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY . /app
1111
RUN npm cache clean --force && npm install
1212
EXPOSE 4200
1313
EXPOSE 9876
14-
RUN source .stage.env && npm run build
14+
RUN source .stage.env && npm run build
1515
# >> scrt &&
1616
#
1717

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,4 @@
157157
},
158158
"repositoryUrl": "https://github.com/ioet/time-tracker-ui.git"
159159
}
160-
}
160+
}

src/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const environment = {
88

99
export const AUTHORITY = process.env["AUTHORITY"];
1010
export const CLIENT_ID = process.env["CLIENT_ID"];
11-
export const CLIENT_URL = process.env["CLIENT_URL"];
11+
export const CLIENT_URL = process.env["CLIENT_URL"].replace(/[\n\r]/g, '');
1212
export const SCOPES = process.env["SCOPES"].split(",");
1313
export const ITEMS_PER_PAGE = 5;
1414
export const STACK_EXCHANGE_ID = process.env["STACK_EXCHANGE_ID"];

0 commit comments

Comments
 (0)