Skip to content

Commit

Permalink
Merge pull request #60 from pwa-builder/amrutha/fix
Browse files Browse the repository at this point in the history
quickfix
  • Loading branch information
khmyznikov committed Jun 1, 2023
2 parents 1f8ff59 + 1487fce commit 3a14d49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Microsoft.PWABuilder.IOS.Web/Services/ImageGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.PWABuilder.IOS.Web.Common;
using System.Net;

namespace Microsoft.PWABuilder.IOS.Web.Services
{
Expand All @@ -30,7 +31,7 @@ public class ImageGenerator
IOptions<AppSettings> appSettings,
ILogger<ImageGenerator> logger)
{
this.http = httpClientFactory.CreateClient();
this.http = new HttpClient(new HttpClientHandler { AutomaticDecompression = DecompressionMethods.All });
this.http.AddLatestEdgeUserAgent();
this.imageGeneratorServiceUrl = new Uri(appSettings.Value.ImageGeneratorApiUrl);
this.logger = logger;
Expand Down

0 comments on commit 3a14d49

Please sign in to comment.