diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj b/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj
index 44587bdc..03a8f418 100644
--- a/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj
+++ b/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj
@@ -8,6 +8,8 @@
+
+
diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json
index 235c049b..ea1b357f 100644
--- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json
+++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json
@@ -37,11 +37,29 @@
"Path": "/api/payment/{**everything}"
}
},
+ "Cmskit Service": {
+ "ClusterId": "cmskitCluster",
+ "Match": {
+ "Path": "/api/cmskit/{**everything}"
+ }
+ },
+ "Cmskit Public Service": {
+ "ClusterId": "cmskitCluster",
+ "Match": {
+ "Path": "/api/cms-kit-public/{**everything}"
+ }
+ },
+ "Cmskit Admin Service": {
+ "ClusterId": "cmskitCluster",
+ "Match": {
+ "Path": "/api/cms-kit-admin/{**everything}"
+ }
+ },
"product-picture-route": {
"ClusterId": "productPictureCluster",
"Match": {
"Path": "/product-images/{**everything}",
- "Methods" : [ "GET" ]
+ "Methods": [ "GET" ]
}
}
},
diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/appsettings.json b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/appsettings.json
index 4788a2cc..fab9000d 100644
--- a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/appsettings.json
+++ b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/appsettings.json
@@ -1,7 +1,7 @@
{
"App": {
"SelfUrl": "https://localhost:44358",
- "CorsOrigins": "https://localhost:44372,https://localhost:44373,http://localhost:4200"
+ "CorsOrigins": "https://localhost:44372,https://localhost:44373,http://localhost:4200,https://localhost:44335"
},
"AuthServer": {
"Authority": "https://localhost:44330",