Skip to content

Commit 45f42bd

Browse files
Roll back updating the appconfig
1 parent c96ad56 commit 45f42bd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

angular/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ RUN yarn run ng build --configuration production
77
# stage 2
88
FROM nginx
99
COPY --from=node /app/dist /usr/share/nginx/html
10+
# This is a workaround to avoid updating the file outside the container.
11+
RUN sed -i "s/https/http/g" /usr/share/nginx/html/assets/appconfig.production.json
1012
COPY fast-nginx-default.conf /etc/nginx/conf.d/default.conf

angular/src/assets/appconfig.production.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"remoteServiceBaseUrl": "http://localhost:9902",
2+
"remoteServiceBaseUrl": "https://localhost:44311",
33
"appBaseUrl": "http://localhost:4200",
44
"localeMappings": [
55
{

0 commit comments

Comments
 (0)