_
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
RakVhalate 2022-10-20 22:35:08 +10:00
parent 2a71885a85
commit 8b0c988a7f

View File

@ -6,26 +6,18 @@ builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
<<<<<<< HEAD
=======
>>>>>>> 0efca3b0b5781ab54d78c97a62b20b0f47d7dabf
builder.Services.AddCors(setup =>
{
setup.AddDefaultPolicy(policyBuilder =>
{
<<<<<<< HEAD
policyBuilder.WithOrigins("http://www.vdk2ch.ru:4200").WithMethods("PUT", "POST").WithHeaders("*");
});
});
=======
policyBuilder.WithOrigins("http://www.vdk2ch.ru:4200");
});
});
//builder.Services.AddSwaggerGen();
>>>>>>> 0efca3b0b5781ab54d78c97a62b20b0f47d7dabf
var app = builder.Build();