From 45f42bdcd8d81ad9884c19da5736cc1d999179e8 Mon Sep 17 00:00:00 2001 From: EduardoSantanaSeverino Date: Mon, 24 Oct 2022 20:20:38 -0400 Subject: [PATCH] Roll back updating the appconfig --- angular/Dockerfile | 2 ++ angular/src/assets/appconfig.production.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/angular/Dockerfile b/angular/Dockerfile index f05e33c4..be69523a 100644 --- a/angular/Dockerfile +++ b/angular/Dockerfile @@ -7,4 +7,6 @@ RUN yarn run ng build --configuration production # stage 2 FROM nginx COPY --from=node /app/dist /usr/share/nginx/html +# This is a workaround to avoid updating the file outside the container. +RUN sed -i "s/https/http/g" /usr/share/nginx/html/assets/appconfig.production.json COPY fast-nginx-default.conf /etc/nginx/conf.d/default.conf diff --git a/angular/src/assets/appconfig.production.json b/angular/src/assets/appconfig.production.json index c63609b2..e9a1c205 100644 --- a/angular/src/assets/appconfig.production.json +++ b/angular/src/assets/appconfig.production.json @@ -1,5 +1,5 @@ { - "remoteServiceBaseUrl": "http://localhost:9902", + "remoteServiceBaseUrl": "https://localhost:44311", "appBaseUrl": "http://localhost:4200", "localeMappings": [ {