diff --git a/.version b/.version index f766936..b7d89a2 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.17.20.28 \ No newline at end of file +0.17.20.29 \ No newline at end of file diff --git a/NetinaShop.Api/NetinaShop.Api.csproj b/NetinaShop.Api/NetinaShop.Api.csproj index 358c61b..ad9311c 100644 --- a/NetinaShop.Api/NetinaShop.Api.csproj +++ b/NetinaShop.Api/NetinaShop.Api.csproj @@ -6,8 +6,8 @@ enable true Linux - 0.17.20.28 - 0.17.20.28 + 0.17.20.29 + 0.17.20.29 diff --git a/NetinaShop.Api/Program.cs b/NetinaShop.Api/Program.cs index e6dd881..ff7ad01 100644 --- a/NetinaShop.Api/Program.cs +++ b/NetinaShop.Api/Program.cs @@ -41,6 +41,7 @@ builder.Services.AddCustomDbContext(configuration); builder.Services.AddMarten(configuration,builder.Environment); builder.Services.AddCarter(); + Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Ngo9BigBOggjHTQxAR8/V1NAaF1cXmhKYVtpR2Nbe05yflRGalxSVBYiSV9jS3pTdUViWHtfcHRWQGlcUQ=="); diff --git a/NetinaShop.Api/WebFramework/Configurations/ServiceExtensions.cs b/NetinaShop.Api/WebFramework/Configurations/ServiceExtensions.cs index 1c06520..f306ed6 100644 --- a/NetinaShop.Api/WebFramework/Configurations/ServiceExtensions.cs +++ b/NetinaShop.Api/WebFramework/Configurations/ServiceExtensions.cs @@ -94,8 +94,6 @@ public static class ServiceExtensions builder => { builder.AllowAnyMethod() - .SetPreflightMaxAge(TimeSpan.FromHours(24)) - .WithExposedHeaders("Access-control-allow-origins") .AllowAnyHeader() .SetIsOriginAllowed(_ => true) .AllowCredentials();