ajout de 8083 pour le docker compose dans le CORS

pull/10/head
Clement FERRERE 3 years ago
parent abbde8d610
commit a4f8723037
  1. 2
      Collaborateur_Epa_Back/espacecollab.backend.api/Startup.cs

@ -38,7 +38,7 @@ public class Startup
app.UseDeveloperExceptionPage(); app.UseDeveloperExceptionPage();
} }
app.UseCors( app.UseCors(
options => options.WithOrigins("http://localhost:4200", "http://localhost:8082").AllowAnyMethod().AllowAnyHeader() options => options.WithOrigins("http://localhost:4200", "http://localhost:8082", "http://localhost:8083").AllowAnyMethod().AllowAnyHeader()
); );
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(); app.UseSwaggerUI();

Loading…
Cancel
Save