Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Merge pull request #269 from abpframework/bug/product-images
Browse files Browse the repository at this point in the history
Product image bug fixed
  • Loading branch information
skoc10 authored Oct 21, 2024
2 parents b25c665 + b9ca799 commit 1e64a58
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
app.UseConfiguredEndpoints(endpoints =>
{
endpoints.MapReverseProxy();
endpoints.MapForwarder("*/product-images/{name}", "http://_http.catalogService/product-images", "/{name}");
endpoints.MapForwarder("/products/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://catalog:8080/product-images", "/{name}");
});
}

Expand Down

0 comments on commit 1e64a58

Please # to comment.