forked from MDCPS/DamageAssessment_Backend
Addi ng CORS
This commit is contained in:
@ -33,7 +33,6 @@ builder.Services.AddCors(p => p.AddPolicy("DamageAppCorsPolicy", build => {
|
||||
build.WithOrigins("*").AllowAnyMethod().AllowAnyHeader().AllowAnyOrigin();
|
||||
}));
|
||||
|
||||
|
||||
builder.Services.AddControllers();
|
||||
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
|
||||
builder.Services.AddScoped<ISurveyProvider, SurveysProvider>();
|
||||
|
Reference in New Issue
Block a user