Browse Source

Merge pull request #269 from abpframework/bug/product-images

Product image bug fixed
azure-deployment
selman koc 2 years ago
committed by GitHub
parent
commit
1e64a58508
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbpPublicWebModule.cs

4
apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbpPublicWebModule.cs

@ -320,8 +320,8 @@ public class EShopOnAbpPublicWebModule : AbpModule
app.UseConfiguredEndpoints(endpoints => app.UseConfiguredEndpoints(endpoints =>
{ {
endpoints.MapReverseProxy(); endpoints.MapReverseProxy();
endpoints.MapForwarder("*/product-images/{name}", "http://_http.catalogService/product-images", "/{name}"); endpoints.MapForwarder("*/product-images/{name}", "http://catalog:8080/product-images", "/{name}");
endpoints.MapForwarder("/products/product-images/{name}", "http://_http.catalogService/product-images", "/{name}"); endpoints.MapForwarder("/products/product-images/{name}", "http://catalog:8080/product-images", "/{name}");
}); });
} }

Loading…
Cancel
Save