|Fermée et conflit résolu dans develop directement| autorisation CORS pour le docker front (localhost:8082) #8

Closed
Clement.Ferrere wants to merge 1 commits from mise_en_place_entites into develop
  1. 5
      Collaborateur_Epa_Back/espacecollab.backend.api/Startup.cs

@ -38,8 +38,9 @@ namespace espacecollab.backend.api
app.UseDeveloperExceptionPage(); app.UseDeveloperExceptionPage();
} }
app.UseCors( app.UseCors(
options => options.WithOrigins("http://localhost:4200").AllowAnyMethod().AllowAnyHeader() options => options.WithOrigins("http://localhost:4200","http://localhost:8082").AllowAnyMethod().AllowAnyHeader()
);
) ;
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(); app.UseSwaggerUI();

Loading…
Cancel
Save