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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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}"); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|