From 40b05981f6786519f6d2b22a8335865357f28c21 Mon Sep 17 00:00:00 2001
From: ajai-d <106365942+ajai-d@users.noreply.github.com>
Date: Sun, 12 Nov 2023 16:37:08 -0600
Subject: [PATCH 1/2] fixed the issue with skprompt.txt not copying to docker
image
---
.../dotnet/GBB.Miyagi.RecommendationService.csproj | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/services/recommendation-service/dotnet/GBB.Miyagi.RecommendationService.csproj b/services/recommendation-service/dotnet/GBB.Miyagi.RecommendationService.csproj
index 22c648e4..aec07f74 100644
--- a/services/recommendation-service/dotnet/GBB.Miyagi.RecommendationService.csproj
+++ b/services/recommendation-service/dotnet/GBB.Miyagi.RecommendationService.csproj
@@ -25,6 +25,14 @@
+
+ PreserveNewest
+ PreserveNewest
+
+
+ PreserveNewest
+ PreserveNewest
+
From f374090b3c4842cf14b97bc3fb9071aedbc0710b Mon Sep 17 00:00:00 2001
From: ajai-d <106365942+ajai-d@users.noreply.github.com>
Date: Sun, 12 Nov 2023 18:17:28 -0600
Subject: [PATCH 2/2] added local host to CorsAllowedOrigins
---
.../recommendation-service/dotnet/appsettings.json.example | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/services/recommendation-service/dotnet/appsettings.json.example b/services/recommendation-service/dotnet/appsettings.json.example
index ed633c61..fce7f719 100644
--- a/services/recommendation-service/dotnet/appsettings.json.example
+++ b/services/recommendation-service/dotnet/appsettings.json.example
@@ -22,7 +22,8 @@
"logLevel": "Trace",
"CorsAllowedOrigins": [
"http://localhost:4001",
- "http://localhost:3000"
+ "http://localhost:3000",
+ "http://localhost"
]
-
+
}
\ No newline at end of file