Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Remove unused file

KrzysztofPajak2cfd375d6c3b
diff --git a/src/API/Grand.Api/Infrastructure/Extensions/ServiceExtensions.cs b/src/API/Grand.Api/Infrastructure/Extensions/ServiceExtensions.cs
deleted file mode 100644
index e184aa292..000000000
--- a/src/API/Grand.Api/Infrastructure/Extensions/ServiceExtensions.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using Grand.Api.Constants;
-using Microsoft.Extensions.DependencyInjection;
-
-namespace Grand.Api.Infrastructure.Extensions
-{
- public static class ServiceExtensions
- {
- public static void ConfigureCors(this IServiceCollection services)
- {
- services.AddCors(options =>
- {
- options.AddPolicy(Configurations.CorsPolicyName,
- builder => builder.AllowAnyOrigin()
- .AllowAnyMethod()
- .AllowAnyHeader()
- .AllowCredentials());
- });
- }
- }
-}